[or-cvs] r20514: {torflow} Fix timeout WARN when we go to sleep for the night. (torflow/branches/stable/NetworkScanners/BwAuthority)
mikeperry at seul.org
mikeperry at seul.org
Wed Sep 9 19:24:26 UTC 2009
Author: mikeperry
Date: 2009-09-09 15:24:26 -0400 (Wed, 09 Sep 2009)
New Revision: 20514
Modified:
torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py
Log:
Fix timeout WARN when we go to sleep for the night.
Modified: torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py
===================================================================
--- torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py 2009-09-09 08:17:51 UTC (rev 20513)
+++ torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py 2009-09-09 19:24:26 UTC (rev 20514)
@@ -378,6 +378,7 @@
if sleep_start <= t0 and t0 <= sleep_stop:
plog("NOTICE", "It's bedtime. Sleeping for "+str(round((sleep_stop-t0)/3600.0,1))+"h")
time.sleep(sleep_stop - t0)
+ t0 = time.time()
hdlr.new_exit()
attempt += 1
More information about the tor-commits
mailing list