Browse Source

bump the default bandwidthrate to 3 MB, and burst to 6 MB

svn:r5874
Roger Dingledine 19 years ago
parent
commit
f8b9a8d457
2 changed files with 5 additions and 4 deletions
  1. 3 2
      doc/tor.1.in
  2. 2 2
      src/or/config.c

+ 3 - 2
doc/tor.1.in

@@ -33,11 +33,12 @@ Options are case-insensitive.
 .TP
 .TP
 \fBBandwidthRate \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
 \fBBandwidthRate \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
 A token bucket limits the average incoming bandwidth on this node to
 A token bucket limits the average incoming bandwidth on this node to
-the specified number of bytes per second. (Default: 2 MB)
+the specified number of bytes per second. (Default: 3 MB)
 .LP
 .LP
 .TP
 .TP
 \fBBandwidthBurst \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
 \fBBandwidthBurst \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
-Limit the maximum token bucket size (also known as the burst) to the given number of bytes. (Default: 5 MB)
+Limit the maximum token bucket size (also known as the burst) to the
+given number of bytes. (Default: 6 MB)
 .LP
 .LP
 .TP
 .TP
 \fBMaxAdvertisedBandwidth \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP
 \fBMaxAdvertisedBandwidth \fR\fIN\fR \fBbytes\fR|\fBKB\fR|\fBMB\fR|\fBGB\fR|\fBTB\fP

+ 2 - 2
src/or/config.c

@@ -128,8 +128,8 @@ static config_var_t _option_vars[] = {
   VAR("AuthDirReject",       LINELIST, AuthDirReject,        NULL),
   VAR("AuthDirReject",       LINELIST, AuthDirReject,        NULL),
   VAR("AuthDirRejectUnlisted",BOOL,    AuthDirRejectUnlisted,"0"),
   VAR("AuthDirRejectUnlisted",BOOL,    AuthDirRejectUnlisted,"0"),
   VAR("AuthoritativeDirectory",BOOL,   AuthoritativeDir,     "0"),
   VAR("AuthoritativeDirectory",BOOL,   AuthoritativeDir,     "0"),
-  VAR("BandwidthBurst",      MEMUNIT,  BandwidthBurst,       "5 MB"),
-  VAR("BandwidthRate",       MEMUNIT,  BandwidthRate,        "2 MB"),
+  VAR("BandwidthBurst",      MEMUNIT,  BandwidthBurst,       "6 MB"),
+  VAR("BandwidthRate",       MEMUNIT,  BandwidthRate,        "3 MB"),
   VAR("ClientOnly",          BOOL,     ClientOnly,           "0"),
   VAR("ClientOnly",          BOOL,     ClientOnly,           "0"),
   VAR("ConnLimit",           UINT,     ConnLimit,            "1024"),
   VAR("ConnLimit",           UINT,     ConnLimit,            "1024"),
   VAR("ContactInfo",         STRING,   ContactInfo,          NULL),
   VAR("ContactInfo",         STRING,   ContactInfo,          NULL),