chore: more regular keepalive pings (#990)

This commit is contained in:
Hanno Cornelius 2022-06-07 22:44:58 +02:00 committed by GitHub
parent e680669394
commit a3820b26ab

View File

@ -779,7 +779,7 @@ proc keepaliveLoop(node: WakuNode, keepalive: chronos.Duration) {.async.} =
await sleepAsync(keepalive)
proc startKeepalive*(node: WakuNode) =
let defaultKeepalive = 5.minutes # 50% of the default chronosstream timeout duration
let defaultKeepalive = 2.minutes # 20% of the default chronosstream timeout duration
info "starting keepalive", keepalive=defaultKeepalive