Skip to content

Commit

Permalink
Increase default outbound message size
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Oct 31, 2020
1 parent a3285e1 commit 0eae158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion router/websocketserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
msgpackWebsocketProtocol = "wamp.2.msgpack"
cborWebsocketProtocol = "wamp.2.cbor"

defaultOutQueueSize = 16
defaultOutQueueSize = 64
)

type protocol struct {
Expand Down
2 changes: 1 addition & 1 deletion transport/localpeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/gammazero/nexus/v3/wamp"
)

const linkedPeersOutQueueSize = 16
const linkedPeersOutQueueSize = 64

// LinkedPeers creates two connected peers. Messages sent to one peer appear
// in the Recv of the other. This is used for connecting client sessions to
Expand Down

0 comments on commit 0eae158

Please sign in to comment.