[tor-bugs] #1789 [Tor Relay]: Wake-up from Hibernation Occurs Day 1 Each Month

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Sep 20 04:56:22 UTC 2010


#1789: Wake-up from Hibernation Occurs Day 1 Each Month
---------------------------------+------------------------------------------
 Reporter:  BarkerJr             |        Type:  defect   
   Status:  needs_review         |    Priority:  minor    
Milestone:  Tor: 0.2.2.x-final   |   Component:  Tor Relay
  Version:  Tor: 0.2.2.14-alpha  |    Keywords:           
   Parent:                       |  
---------------------------------+------------------------------------------

Comment(by arma):

 {{{
    uint64_t max_configured = (get_options()->BandwidthRate * 60);
 }}}

 We probably want to consider RelayBandwidthRate here when it's non-zero.

 So e.g.
 {{{
   or_options_t *options = get_options();
   uint64_t max_configured = (options->RelayBandwidthRate > 0 ?
                                options->RelayBandwidthRate :
                                options->BandwidthRate) * 60;
 }}}

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


More information about the tor-bugs mailing list