This commit is contained in:
Dmitry Zuikov 2023-03-29 10:06:18 +03:00
parent 2b71b27dca
commit 0ec2cd6e3b
1 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,8 @@ peerPingLoop cfg = do
let pfails = view peerPingFailed pinfo
let pdownfails = view peerDownloadFail pinfo
-- FIXME: seems-like-a-bad-idea
-- Кажется, вызывает гонки
liftIO $ atomically $ modifyTVar pfails succ
sendPing @e p