OSDN Git Service
(root)
/
bytom
/
bytom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add check point (#1621)
[bytom/bytom.git]
/
p2p
/
switch.go
diff --git
a/p2p/switch.go
b/p2p/switch.go
index
f9dddbf
..
d85391b
100644
(file)
--- a/
p2p/switch.go
+++ b/
p2p/switch.go
@@
-28,7
+28,7
@@
const (
defaultBanDuration = time.Hour * 1
logModule = "p2p"
- minNumOutboundPeers =
5
+ minNumOutboundPeers =
4
)
//pre-define errors for connecting fail