fix(snowflake.go): default maxSnowflakes() to 1 (#378)
See https://github.com/ooni/probe-cli/pull/373#discussion_r651080925
This commit is contained in:
		
							parent
							
								
									10a2055163
								
							
						
					
					
						commit
						576e035b20
					
				| @ -136,7 +136,7 @@ func (d *SnowflakeDialer) maxSnowflakes() int { | |||||||
| 	if d.MaxSnowflakes > 0 { | 	if d.MaxSnowflakes > 0 { | ||||||
| 		return d.MaxSnowflakes | 		return d.MaxSnowflakes | ||||||
| 	} | 	} | ||||||
| 	return 3 | 	return 1 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // AsBridgeArgument returns the argument to be passed to | // AsBridgeArgument returns the argument to be passed to | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user