Commit 729a4ad2 authored by Hiro's avatar Hiro 🏄
Browse files

Fix twitter responder for links limit

parent 7305e7c6
......@@ -120,6 +120,10 @@ class TwitterParser(object):
id=hid.hexdigest(), service=request['service']
)
num_requests += yield conn.get_num_requests(
id=request['id'], service=request['service']
)
if num_requests[0][0] < twitter_requests_limit:
conn.new_request(
id=str(request['id']),
......
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