good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 8d62ee65 authored by Gary Rong's avatar Gary Rong Committed by GitHub
Browse files

les: don't drop sentTo for normal cases (#22048)

parent 3944976a
No related branches found
No related tags found
No related merge requests found
......@@ -337,7 +337,6 @@ func (r *sentReq) tryRequest() {
}
defer func() {
// send feedback to server pool and remove peer if hard timeout happened
pp, ok := p.(*serverPeer)
if hrto && ok {
pp.Log().Debug("Request timed out hard")
......@@ -345,10 +344,6 @@ func (r *sentReq) tryRequest() {
r.rm.peers.unregister(pp.id)
}
}
r.lock.Lock()
delete(r.sentTo, p)
r.lock.Unlock()
}()
select {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment