[tor-bugs] #3199 [Tor]: Refactor periodic events

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 17 13:25:53 UTC 2015


#3199: Refactor periodic events
-------------------------------------------------+-------------------------
 Reporter:  nickm                                |          Owner:
     Type:  defect                               |         Status:
 Priority:  Very Low                             |  needs_review
Component:  Tor                                  |      Milestone:  Tor:
 Severity:  Normal                               |  0.2.8.x-final
 Keywords:  easy, tor-relay,                     |        Version:  Tor:
  027-triaged-1-deferrable, 028-triaged,         |  0.2.7
  pre028-patch                                   |     Resolution:
Parent ID:                                       |  Actual Points:
  Sponsor:  SponsorS                             |         Points:  medium
-------------------------------------------------+-------------------------

Comment (by nickm):

 Replying to [comment:22 special]:
 > It makes me a little sad that events like rotate_onion_key,
 check_ed_keys, record_bridge_stats will be called once per second on
 clients to handle the unlikely case where the configuration changes and
 they're now relevant. That is consistent with previous behavior, though.
 They have a little more overhead than they used to - at least one time()
 and event_add() each.

 Indeed.  I don't like this behavior either, but I think that it's best to
 change the behavior in another ticket.  I'll open one after I merge this.

 (All other comments applied to the branch)

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


More information about the tor-bugs mailing list