Adjust retry sleep time.
authorJosh Roesslein <jroesslein@gmail.com>
Sat, 8 Aug 2009 22:24:36 +0000 (17:24 -0500)
committerJosh Roesslein <jroesslein@gmail.com>
Sat, 8 Aug 2009 22:24:36 +0000 (17:24 -0500)
tweepy/streaming.py

index fb52d8fd948885ff1741aa209e1dd5cd078eaf16..976707e2c503fbd982f13bdfcbdce0c045967f84 100644 (file)
@@ -22,7 +22,7 @@ class Stream(object):
   host = 'stream.twitter.com'
 
   def __init__(self, username, password, callback, timeout=2.0, retry_count = 3, 
-                retry_time = 5.0, snooze_time = 10.0, buffer_size=1500):
+                retry_time = 3.0, snooze_time = 10.0, buffer_size=1500):
     self.auth = BasicAuthHandler(username, password)
     self.running = False
     self.timeout = timeout