increase timeout of ping from 10 to 40
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user