commit 356f68a4a7fea6d6cd26c32dbe1091cd6b580463 Author: hiro hiro@torproject.org Date: Fri Oct 18 12:41:13 2019 +0200
Log checks temporarily --- gettor/parse/email.py | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/gettor/parse/email.py b/gettor/parse/email.py index 31afb1e..52d97ec 100644 --- a/gettor/parse/email.py +++ b/gettor/parse/email.py @@ -244,6 +244,10 @@ class EmailParser(object): hid, num_requests[0][0], email_requests_limit )
+ log.msg("check: {}".format(check), system="email parser") + log.msg("hid: {}".format(hid), system="email parser") + log.msg("request['id']: {}".format(request['id']), system="email parser") + if check: log.msg( "Discarded. Too many requests from {}.".format(
tor-commits@lists.torproject.org