increase timeout of ping from 10 to 40

This commit is contained in:
Adrian Zuercher
2025-07-25 20:59:17 +02:00
parent 04e306c6da
commit b484745ed1

View File

@@ -12,10 +12,10 @@ import (
const (
// Time allowed to write a message to the peer.
writeWait = 10 * time.Second
writeWait = 40 * time.Second
// Time allowed to read the next pong message from the peer.
pongWait = 10 * time.Second
pongWait = 40 * time.Second
)
type Client struct {