Commit c0fecf87 by James Cammarata

Increase default socket timeout to 5 minutes

parent 2c6baf68
......@@ -76,7 +76,7 @@ class Connection(object):
# TODO: make the timeout and retries configurable?
tries = 3
self.conn = socket.socket()
self.conn.settimeout(30.0)
self.conn.settimeout(300.0)
while tries > 0:
try:
self.conn.connect((self.host,self.fbport))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment