File tree 2 files changed +6
-3
lines changed
main/scala/io/iohk/ethereum/network/rlpx
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,11 @@ class RLPxConnectionHandler(
137
137
case Success (message) =>
138
138
context.parent ! MessageReceived (message)
139
139
140
- case Failure (ex) =>
140
+ case Failure (ex) => if (log.isDebugEnabled) {
141
+ log.error(ex, s " Cannot decode message from $peerId" )
142
+ } else {
141
143
log.error(s " Cannot decode message from $peerId because ${ex.getMessage}" )
144
+ }
142
145
}
143
146
144
147
/**
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ grothendieck {
29
29
30
30
peer {
31
31
# Retry delay for failed attempt at connecting to a peer
32
- # connect-retry-delay = 20 seconds
32
+ # connect-retry-delay = 1 minute
33
33
34
34
# Maximum number of reconnect attempts after the connection has been initiated.
35
35
# After that, the connection will be dropped until its initiated again (eg. by peer discovery)
36
- # connect-max-retries = 30
36
+ # connect-max-retries = 2
37
37
38
38
# Maximum number of peers this node can connect to
39
39
# max-peers = 40
You can’t perform that action at this time.
0 commit comments