OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98fd019
)
Revert "edit config (#1591)"
author
paladz
<453256728@qq.com>
Thu, 28 Feb 2019 03:44:08 +0000
(11:44 +0800)
committer
paladz
<453256728@qq.com>
Thu, 28 Feb 2019 03:44:08 +0000
(11:44 +0800)
This reverts commit
98fd019eabb27e8ca924ee0ab451b5eff1744c22
.
p2p/switch.go
patch
|
blob
|
history
diff --git
a/p2p/switch.go
b/p2p/switch.go
index
b35f77c
..
b3bffe2
100644
(file)
--- a/
p2p/switch.go
+++ b/
p2p/switch.go
@@
-24,7
+24,7
@@
import (
const (
bannedPeerKey = "BannedPeer"
defaultBanDuration = time.Hour * 1
- minNumOutboundPeers =
5
+ minNumOutboundPeers =
3
)
//pre-define errors for connecting fail