[tor-commits] [tor/master] Make documentation for TokenBucketRefillInterval match its behavior

nickm at torproject.org nickm at torproject.org
Thu Sep 22 19:53:53 UTC 2011


commit 1e611846280b3198445e4e6d8fb56c426e452b7b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Sep 7 21:03:08 2011 -0400

    Make documentation for TokenBucketRefillInterval match its behavior
---
 doc/tor.1.txt |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 05f52f8..15f5a21 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -737,13 +737,13 @@ The following options are useful only for clients (that is, if
     unattached waiting for an appropriate circuit, before we fail it. (Default:
     2 minutes.)
 
-**TokenBucketRefillInterval** __NUM__::
+**TokenBucketRefillInterval** __NUM__ [**msec**|**second**]::
     Set the refill interval of Tor's token bucket to NUM milliseconds.
-    NUM must be positive and either a divisor or a multiple of 1 second.
-    Note that this option retains the configured bandwidth limits and refills
-    token buckets only in ratio to the interval. This option will be ignored
-    when Tor was built with Libevent's bufferevents enabled. (Default: 1 second)
-
+    NUM must be between 1 and 1000, inclusive.  Note that the configured
+    bandwidth limits are still expressed in bytes per second: this
+    option only affects the frequency with which Tor checks to see whether
+    previously exhausted connections  may read again. This option is
+    if Tor was built with Libevent's bufferevents enabled. (Default: 10 msec.)
 
 **TrackHostExits** __host__,__.domain__,__...__::
     For each value in the comma separated list, Tor will track recent





More information about the tor-commits mailing list