Skip to content

Commit 49990e9

Browse files
authored
Merge pull request #81 from mplis/patch-1
Update timeout in render_server.py
2 parents 75d87a2 + 58b2b60 commit 49990e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

react/render_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def render(self, path, props=None, to_static_markup=False, request_headers=None,
4747

4848
# Add a send/receive timeout with the request if not specified
4949
if not isinstance(timeout, (tuple, int, float)):
50-
timeout = (5, 5)
50+
timeout = 5.0
5151

5252
try:
5353
res = requests.post(

0 commit comments

Comments
 (0)