mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-18 00:55:40 +00:00
Set sane ws default message size
This commit is contained in:
parent
f6a933799f
commit
240147f8f1
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
maxMessageSize = 10 * 1024
|
||||
maxMessageSize = 1 * 1024 * 1024
|
||||
pingTime = pongTime * 9 / 10
|
||||
pongTime = 7 * time.Second
|
||||
writeWait = 5 * time.Second
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue