Merge 6511dcf4bd into acf6063fcd
This commit is contained in:
commit
d56c5a95fe
1 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,8 @@ class TwythonStreamer(object):
|
||||||
while self.connected:
|
while self.connected:
|
||||||
response = _send(retry_counter)
|
response = _send(retry_counter)
|
||||||
|
|
||||||
for line in response.iter_lines():
|
# So that first tweets get picked-up.
|
||||||
|
for line in response.iter_lines(chunk_size=1):
|
||||||
if not self.connected:
|
if not self.connected:
|
||||||
break
|
break
|
||||||
if line:
|
if line:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue