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

[tor-bugs] #25762 [Core Tor/Tor]: Make periodic events array with flags including when they are enabled/disabled



#25762: Make periodic events array with flags including when they are
enabled/disabled
-------------------------+-------------------------------------------------
     Reporter:  dgoulet  |      Owner:  dgoulet
         Type:  defect   |     Status:  assigned
     Priority:  Medium   |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  034-roadmap-subtask, client,
     Severity:  Normal   |  performance
Actual Points:           |  Parent ID:  #25500
       Points:           |   Reviewer:
      Sponsor:           |
  Sponsor8               |
-------------------------+-------------------------------------------------
 This is part of #25500 bigger ticket.

 The goal here is to put the periodic events (not the per-second callbacks)
 into an array of objects where an object has flags and enable/disable
 switch.

 So far, the flags would indicate conditions on when to run the callbacks.
 One of them would be "do not run if disable network is on".

 The object also needs to tell for which "tor entity" the callbacks
 applies. For instance, a certain callback would only apply to Client. Or a
 callback is only for Dirauth.

 Probably more (or less) things will be added to the object as we start
 implementing.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25762>
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