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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user