[or-cvs] r20515: {torflow} Fix timeout WARN when we go to sleep for the night. (torflow/trunk/NetworkScanners/BwAuthority)
mikeperry at seul.org
mikeperry at seul.org
Wed Sep 9 19:28:14 UTC 2009
Author: mikeperry
Date: 2009-09-09 15:28:13 -0400 (Wed, 09 Sep 2009)
New Revision: 20515
Modified:
torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py
Log:
Fix timeout WARN when we go to sleep for the night.
Modified: torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py
===================================================================
--- torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py 2009-09-09 19:24:26 UTC (rev 20514)
+++ torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py 2009-09-09 19:28:13 UTC (rev 20515)
@@ -192,6 +192,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