We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1e9f7 commit 9781710Copy full SHA for 9781710
sentinel.go
@@ -201,8 +201,9 @@ func (opt *FailoverOptions) sentinelOptions(addr string) *Options {
201
MinRetryBackoff: opt.MinRetryBackoff,
202
MaxRetryBackoff: opt.MaxRetryBackoff,
203
204
- ReadBufferSize: opt.ReadBufferSize,
205
- WriteBufferSize: opt.WriteBufferSize,
+ // The sentinel client uses a 4KiB read/write buffer size.
+ ReadBufferSize: 4096,
206
+ WriteBufferSize: 4096,
207
208
DialTimeout: opt.DialTimeout,
209
ReadTimeout: opt.ReadTimeout,
0 commit comments