Skip to content

Commit

Permalink
Change default connection max timeout from 5 to 60
Browse files Browse the repository at this point in the history
This should be useful to reuse the same connection when the channel is slow (internet) or failing (Wireless)
  • Loading branch information
deavid committed Feb 15, 2011
1 parent 6b1c308 commit c8b5539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bjsonrpc/connection.py
Expand Up @@ -139,8 +139,8 @@ class Connection(object): # TODO: Split this class in simple ones
"""
_maxtimeout = {
'read' : 5, # default maximum read timeout.
'write' : 5, # default maximum write timeout.
'read' : 60, # default maximum read timeout.
'write' : 60, # default maximum write timeout.
}

@classmethod
Expand Down

0 comments on commit c8b5539

Please sign in to comment.