From: RouxRC Date: Sun, 16 Feb 2014 19:26:20 +0000 (+0100) Subject: use non timeout mode for all streams in the sample tester X-Git-Tag: twitter-1.14.0~4^2~2 X-Git-Url: https://jfr.im/git/z_archive/twitter.git/commitdiff_plain/967c2f688cbeff88f8876e25e7409593e04d32d6?hp=ff33f9f1fcc6aaad5f0604d7b655e4c1fa5af0d9 use non timeout mode for all streams in the sample tester --- diff --git a/twitter/stream_example.py b/twitter/stream_example.py index 2888ace..8f5da3a 100644 --- a/twitter/stream_example.py +++ b/twitter/stream_example.py @@ -46,7 +46,7 @@ def main(): stream = TwitterStream(auth=auth, domain='sitestream.twitter.com') tweet_iter = stream.site() else: - stream = TwitterStream(auth=auth, timeout=60.0) + stream = TwitterStream(auth=auth) tweet_iter = stream.statuses.sample() # Iterate over the sample stream.