1
0
mirror of https://github.com/redis/go-redis.git synced 2025-09-08 19:52:07 +03:00

fix(options): Add buffer sizes to failover. Update README (#3468)

* fix(options): Add buffer sizes to failover. Update README

* fix(spellcheck): add KiB in wordlist

* fix(comment): fix defaul value in comment

* fixes #3465
This commit is contained in:
Nedyalko Dyakov
2025-08-11 16:01:24 +03:00
committed by GitHub
parent 2c29dedc2d
commit 94cfffa417
8 changed files with 65 additions and 23 deletions

View File

@@ -12,8 +12,8 @@ import (
"github.com/redis/go-redis/v9/internal/util"
)
// DefaultBufferSize is the default size for read/write buffers (0.5MiB)
const DefaultBufferSize = 512 * 1024
// DefaultBufferSize is the default size for read/write buffers (256 KiB).
const DefaultBufferSize = 256 * 1024
// redis resp protocol data type.
const (