[tor-bugs] #19776 [Metrics/CollecTor]: Make minor improvements to scheduler

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 5 07:00:10 UTC 2016


#19776: Make minor improvements to scheduler
-------------------------------+---------------------------------
 Reporter:  karsten            |          Owner:  iwakeh
     Type:  enhancement        |         Status:  needs_review
 Priority:  Medium             |      Milestone:  CollecTor 1.0.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------------
Changes (by iwakeh):

 * status:  assigned => needs_review


Comment:

 Please review
 [https://gitweb.torproject.org/user/iwakeh/collector.git/commit/?h=task-19791
 -seconds-to-zero&id=160e1b437f017eef67036e82bbd01ae5b0b8e84d my branch].
 It contains the patch for 3, the HH.mm:00 part.
 The milliseconds are not easily set to zero, b/c the scheduler seems to
 take time to schedule a task.
 When the period is already running the start happens immediately, i.e.
 10:10:03 with period 2 and offset 0 the task will be started at 10:10:03.
 I didn't find a better solution here, will this suffice?


 Regarding part 4:
 It fits into the current design, but I rather have new properties instead
 of a command line switch. That way all settings are in one file, which
 helps with (remote) debugging.  Will that do?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19776#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list