reactors: skip log on some routine cancels (#7556)

This commit is contained in:
Sam Kleinman
2022-01-11 12:56:52 -05:00
committed by GitHub
parent 7f8b75e1ee
commit 5bf1bdcfb4
11 changed files with 0 additions and 26 deletions
-1
View File
@@ -354,7 +354,6 @@ func (r *Reactor) processPeerUpdates(ctx context.Context) {
for {
select {
case <-ctx.Done():
r.logger.Debug("stopped listening on peer updates channel; closing...")
return
case peerUpdate := <-r.peerUpdates.Updates():
r.processPeerUpdate(peerUpdate)