2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

change pingPeriod to 10s.

This commit is contained in:
Miroslav Šedivý 2021-03-03 18:35:58 +01:00
parent fa16b28ac0
commit 0aa1237df9

@ -32,7 +32,7 @@ func New(
}
// Send pings to peer with this period. Must be less than pongWait.
const pingPeriod = 60 * time.Second
const pingPeriod = 10 * time.Second
type WebSocketManagerCtx struct {
logger zerolog.Logger