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

[tor-commits] [tor/master] refill our token buckets 10 times/sec, not 100



commit f6db0f128c8f47b660ec3e872966fd3b951dd1a9
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date:   Wed Sep 28 15:38:36 2011 -0400

    refill our token buckets 10 times/sec, not 100
    
    refilling often is good, but refilling often has unclear side effects
    on a) cpu load, and b) making sure every cell, ever, is sent out one at
    a time
---
 src/or/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index e22f539..c44b09c 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -386,7 +386,7 @@ static config_var_t _option_vars[] = {
   OBSOLETE("SysLog"),
   V(TestSocks,                   BOOL,     "0"),
   OBSOLETE("TestVia"),
-  V(TokenBucketRefillInterval,   MSEC_INTERVAL, "10 msec"),
+  V(TokenBucketRefillInterval,   MSEC_INTERVAL, "100 msec"),
   V(TrackHostExits,              CSV,      NULL),
   V(TrackHostExitsExpire,        INTERVAL, "30 minutes"),
   OBSOLETE("TrafficShaping"),

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits