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

[tor-bugs] #19476 [Core Tor/Tor]: Use conditional intervals in heartbeat_callback



#19476: Use conditional intervals in heartbeat_callback
------------------------------+-----------------
     Reporter:  cypherpunks   |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------
 In ticket:19454#comment:4 i suggested some rationale about the (now
 removed) comment in the heartbeat callback function.

 The attached patch uses the return value of `log_heartbeat` to choose
 between calling the callback after `HeartbeatPeriod` number of seconds or
 on the next second.

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