Commit 55dabfbc authored by Rémy Decoupes's avatar Rémy Decoupes
Browse files

add comment on Twitter's stream limitation

parent f9201669
......@@ -72,6 +72,7 @@ class Listener(tweepy.StreamListener):
return False
def on_limit(self, track):
""" Log if Twitter stream limitation is reached, i.e. our collect > 1% Firehorse of Twitter"""
logger.error("Twitter limit reached: "+str(track))
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