[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 643548bf399b363e630ba4c62e94c26517a05aec
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
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()
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits