Skip to content
Permalink
Browse files

set max message size on the websocket broker to 256k

  • Loading branch information...
justone committed Jun 21, 2019
1 parent 49efc6b commit a0cfe895b6ab2fa1fdf1ad7a9e10e1b24ff82d2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 broker.go
@@ -20,7 +20,7 @@ const (
writeWait = 10 * time.Second
pongWait = 60 * time.Second
pingPeriod = (pongWait * 9) / 10
maxMessageSize = 2048
maxMessageSize = 256 * 1024
)

var (

0 comments on commit a0cfe89

Please sign in to comment.
You can’t perform that action at this time.