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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs