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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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