mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
Merge pull request #5598 from ipfs/fix/infinite-loop-stats-bw
fix infinite loop in `stats bw`
This commit is contained in:
commit
9bf4e4145e
@ -142,7 +142,7 @@ Example:
|
||||
select {
|
||||
case <-time.After(interval):
|
||||
case <-req.Context.Done():
|
||||
break
|
||||
return nil
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user