mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
changed defaultDialRatio to 2, fixed typo
This commit is contained in:
parent
4f4f9d88d3
commit
02ed27ea15
2 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ func fuzzRlp(t *testing.T, input []byte) {
|
|||
{
|
||||
var v struct {
|
||||
Byte [10]byte
|
||||
Rool [10]bool
|
||||
Bool [10]bool
|
||||
}
|
||||
if err := decodeEncode(input, &v); err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ const (
|
|||
|
||||
// Connectivity defaults.
|
||||
defaultMaxPendingPeers = 50
|
||||
defaultDialRatio = 3
|
||||
defaultDialRatio = 2
|
||||
|
||||
// This time limits inbound connection attempts per source IP.
|
||||
inboundThrottleTime = 30 * time.Second
|
||||
|
|
|
|||
Loading…
Reference in a new issue