Permalink
Browse files

Change default connection max timeout from 5 to 60

This should be useful to reuse the same connection when the channel is slow (internet) or failing (Wireless)
  • Loading branch information...
1 parent 6b1c308 commit c8b553946147056f27f1c9b2eb82aaa5a0c7295d @deavid committed Feb 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 bjsonrpc/connection.py
View
4 bjsonrpc/connection.py
@@ -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

0 comments on commit c8b5539

Please sign in to comment.