We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c32b3 commit aad3067Copy full SHA for aad3067
snow/networking/timeout/manager.go
@@ -125,8 +125,11 @@ func (m *manager) RegisterRequest(
125
timeoutHandler func(),
126
) {
127
newTimeoutHandler := func() {
128
- // If this request timed out, tell the benchlist manager
129
- m.benchlistMgr.RegisterFailure(chainID, nodeID)
+ if requestID.Op != byte(message.AppResponseOp) {
+ // If the request timed out and wasn't an AppRequest, tell the
130
+ // benchlist manager.
131
+ m.benchlistMgr.RegisterFailure(chainID, nodeID)
132
+ }
133
timeoutHandler()
134
}
135
m.tm.Put(requestID, measureLatency, newTimeoutHandler)
0 commit comments