Skip to content

Commit

Permalink
increase subscription buffer size to 256
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshmuelov committed Jan 21, 2025
1 parent 863fb55 commit fc3b373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/topics/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

// Increased from the default (32) to reduce message drops caused by slow subscribers.
const subscriptionBufferSize = 128
const subscriptionBufferSize = 256

type onTopicJoined func(ps *pubsub.PubSub, topic *pubsub.Topic)

Expand Down

0 comments on commit fc3b373

Please sign in to comment.