Browse Source

Reduce default SpeedTestMaxSampleCount

Rod Hynes 3 years ago
parent
commit
0f34d8eb6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/common/parameters/parameters.go

+ 1 - 1
psiphon/common/parameters/parameters.go

@@ -438,7 +438,7 @@ var defaultParameters = map[string]struct {
 
 
 	SpeedTestPaddingMinBytes: {value: 0, minimum: 0},
 	SpeedTestPaddingMinBytes: {value: 0, minimum: 0},
 	SpeedTestPaddingMaxBytes: {value: 256, minimum: 0},
 	SpeedTestPaddingMaxBytes: {value: 256, minimum: 0},
-	SpeedTestMaxSampleCount:  {value: 25, minimum: 1},
+	SpeedTestMaxSampleCount:  {value: 5, minimum: 1},
 
 
 	// The Psiphon server times out inactive tunnels after 5 minutes, so this
 	// The Psiphon server times out inactive tunnels after 5 minutes, so this
 	// is a soft max for SSHKeepAlivePeriodMax.
 	// is a soft max for SSHKeepAlivePeriodMax.