mirror of https://github.com/voidlizard/hbs2
lost-peer-auth-investigation
This commit is contained in:
parent
3c85175508
commit
5ab9b80fd3
|
@ -708,7 +708,9 @@ peerDownloadLoop peer = do
|
||||||
let mbauth = (,) <$> auth' <*> pinfo'
|
let mbauth = (,) <$> auth' <*> pinfo'
|
||||||
|
|
||||||
let noAuth = do
|
let noAuth = do
|
||||||
warn ( "lost peer auth" <+> pretty peer )
|
let authNone = isNothing auth'
|
||||||
|
let pingNone = isNothing pinfo'
|
||||||
|
warn ( "lost peer auth" <+> pretty peer <+> pretty authNone <+> pretty pingNone )
|
||||||
pause @'Seconds 1
|
pause @'Seconds 1
|
||||||
-- liftIO $ withPeerM pe $ sendPing @e peer
|
-- liftIO $ withPeerM pe $ sendPing @e peer
|
||||||
-- -- FIXME: time-hardcode
|
-- -- FIXME: time-hardcode
|
||||||
|
|
Loading…
Reference in New Issue