Skip to content

Commit 5e73029

Browse files
committed
change connect_timeout to float
1 parent e05bf53 commit 5e73029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_server_proxy/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def proxy_request_headers(self):
319319
def proxy_request_options(self):
320320
'''A dictionary of options to be used when constructing
321321
a tornado.httpclient.HTTPRequest instance for the proxy request.'''
322-
return dict(follow_redirects=False, connect_timeout=250, request_timeout=300.0)
322+
return dict(follow_redirects=False, connect_timeout=250.0, request_timeout=300.0)
323323

324324
def check_xsrf_cookie(self):
325325
'''

0 commit comments

Comments
 (0)