commit 1178d399dae3a52a6c298e37230fa4336a6f467c Author: David Fifield david@bamsoftware.com Date: Sun May 5 02:38:33 2013 -0700
Do imap.close and imap.logout after an error. --- facilitator/facilitator-email-poller | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/facilitator/facilitator-email-poller b/facilitator/facilitator-email-poller index ee69dd9..5b9c50b 100755 --- a/facilitator/facilitator-email-poller +++ b/facilitator/facilitator-email-poller @@ -333,6 +333,8 @@ while True: except KeyboardInterrupt: break
+ imap.close() + imap.logout() # Don't reconnect too fast. t = login_limit.time_to_wait() if t > 0:
tor-commits@lists.torproject.org