[tor-commits] [torbel/master] Actually start the timer for the refresh

sebastian at torproject.org sebastian at torproject.org
Sun Sep 4 07:25:41 UTC 2011


commit 643548bf399b363e630ba4c62e94c26517a05aec
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Sun Sep 4 07:58:36 2011 +0200

    Actually start the timer for the refresh
---
 bulklist.fcgi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bulklist.fcgi b/bulklist.fcgi
index 56dee21..c447903 100755
--- a/bulklist.fcgi
+++ b/bulklist.fcgi
@@ -31,10 +31,10 @@ def update_elist():
     nextUpdate = math.ceil(time.mktime(elist.next_update.timetuple()) - time.time())
     if nextUpdate > 0:
         log.debug("Scheduling update in %d seconds.", nextUpdate)
-        #Timer(nextUpdate, update_elist, ()).start()
+        Timer(nextUpdate, update_elist, ()).start()
     else:
         log.notice("Export file is not up-to-date. Trying again in 10 minutes.")
-        #Timer(10*60, update_elist, ()).start()
+        Timer(10*60, update_elist, ()).start()
 
 update_elist()
 





More information about the tor-commits mailing list