Commit 9479bc1
committed
redis: increase pubsub channel buffer to prevent message drops
The go-redis pubsub.Channel() defaults to a buffer of 100 messages.
Under concurrent writes (e.g. max_in_flight=10 publishing batches of
100), the buffer overflows and messages are silently dropped since
Redis PubSub is fire-and-forget. Increase buffer to 2000.
Fixes CON-4111 parent cb78ded commit 9479bc1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments