]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
refill our token buckets 10 times/sec, not 100
authorRoger Dingledine <arma@torproject.org>
Wed, 28 Sep 2011 19:38:36 +0000 (15:38 -0400)
committerRoger Dingledine <arma@torproject.org>
Wed, 28 Sep 2011 19:38:36 +0000 (15:38 -0400)
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

index e22f539aded09f202d9eca1b32aa71ab9f0a012a..c44b09cad4b4964f25900c2201b0310ad55f3565 100644 (file)
@@ -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"),