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

Re: [tor-bugs] #14826 [Onionoo]: backend: hourly update without crontab or the like



#14826: backend: hourly update without crontab or the like
-----------------------------+----------------------------
     Reporter:  iwakeh       |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  normal       |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+----------------------------

Comment (by iwakeh):

 Why should the crontab behavior be mimicked so closely?

 Fixed rate scheduling would change the repeated update times also,
 if a run takes longer than the set interval. Depending on the
 configuration
 this might be another interval or an immediate restart.

 The successive update-start depends only on the start time of the java
 process.
 Started at 00:14 it would begin at 00:15. But I do not mind setting it to
 zero.

 Especially, when there are several mirrors it might be advisable not to
 do the downloads at the same time. The runtime of each run would spread
 the downloading over time.

 Should the update interval be shorter, in order to have an update at about
 every hour?

 The lock file will still be needed for the single run using crontab for
 scheduling
 the executions. So, it should only show up there, I think.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14826#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs