GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit a215b206 authored by Hiro's avatar Hiro 🏄
Browse files

Fix too many requests check

parent 9efff8c6
......@@ -156,7 +156,7 @@ class EmailParser(object):
num_requests = limit
if hid.hexdigest() == self.settings.get('test_hid'):
num_requests = 0
return 0
else:
num_requests = yield conn.get_num_requests(
id=hid.hexdigest(), service=request_service
......
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