fix(snowflake.go): default maxSnowflakes() to 1 (#378)

See https://github.com/ooni/probe-cli/pull/373#discussion_r651080925
This commit is contained in:
Simone Basso
2021-06-14 18:18:36 +02:00
committed by GitHub
parent 10a2055163
commit 576e035b20
+1 -1
View File
@@ -136,7 +136,7 @@ func (d *SnowflakeDialer) maxSnowflakes() int {
if d.MaxSnowflakes > 0 {
return d.MaxSnowflakes
}
return 3
return 1
}
// AsBridgeArgument returns the argument to be passed to