Document unit of bandwidth related options in sample torrc.

This commit is contained in:
Peter Palfrader 2012-04-13 20:25:36 +02:00 committed by Roger Dingledine
parent ab338e3bb8
commit 5d7fab9477
3 changed files with 7 additions and 0 deletions

3
changes/bug5621 Normal file
View File

@ -0,0 +1,3 @@
o Minor enhancement:
- Document unit of bandwidth related options in sample torrc.
Fixes bug 5621.

View File

@ -96,6 +96,8 @@ Nickname Unnamed
## Define these to limit how much relayed traffic you will allow. Your
## own traffic is still unthrottled. Note that RelayBandwidthRate must
## be at least 20 KB.
## Note that units for these config options are bytes per second, not bits
## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
#RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps)
#RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
RelayBandwidthBurst 10485760

View File

@ -102,6 +102,8 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
## Define these to limit how much relayed traffic you will allow. Your
## own traffic is still unthrottled. Note that RelayBandwidthRate must
## be at least 20 KB.
## Note that units for these config options are bytes per second, not bits
## per second, and that prefixes are binary prefixes, i.e. 2^10, 2^20, etc.
#RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps)
#RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)