Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

moving connection,request timeout parameters from fetch method to HTT…

…PRequest creation
  • Loading branch information...
commit 2e0c07f67410c125e595d114ec54c31366dcff60 1 parent 82633ea
@devendram devendram authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 python-tornado/Pubnub.py
View
6 python-tornado/Pubnub.py
@@ -439,12 +439,10 @@ def complete(response) :
'V' : '3.1',
'User-Agent' : 'Python-Tornado',
'Accept-Encoding' : 'gzip'
- }) )
+ }), connect_timeout=310, request_timeout=310 )
http.fetch(
request,
- callback=complete,
- connect_timeout=310,
- request_timeout=310
+ callback=complete
)
Please sign in to comment.
Something went wrong with that request. Please try again.