mirror of
https://github.com/redis/go-redis.git
synced 2025-12-02 06:22:31 +03:00
chore(ci): Add redis 8.4-RC1-pre & examples (#3572)
* add disable maintnotifications example * add 8.4-RC1-pre * println -> printf for linter * address jit comment Fix broken initialization of idle connections optimize push notif wip wip wip wip
This commit is contained in:
committed by
Nedyalko Dyakov
parent
1510181ece
commit
b6d7cdbd84
@@ -102,17 +102,25 @@ type ClusterOptions struct {
|
||||
ConnMaxLifetime time.Duration
|
||||
|
||||
// ReadBufferSize is the size of the bufio.Reader buffer for each connection.
|
||||
// Larger buffers can improve performance for commands that return large responses.
|
||||
// Buffers are allocated once per connection and persist for the connection's lifetime.
|
||||
//
|
||||
// Larger buffers can significantly improve performance for commands that return large responses.
|
||||
// For high-throughput scenarios, consider using 512 KiB.
|
||||
//
|
||||
// Smaller buffers can improve memory usage for larger pools.
|
||||
//
|
||||
// default: 32KiB (32768 bytes)
|
||||
// default: 64 KiB (65536 bytes)
|
||||
ReadBufferSize int
|
||||
|
||||
// WriteBufferSize is the size of the bufio.Writer buffer for each connection.
|
||||
// Larger buffers can improve performance for large pipelines and commands with many arguments.
|
||||
// Buffers are allocated once per connection and persist for the connection's lifetime.
|
||||
//
|
||||
// Larger buffers can significantly improve performance for large pipelines and commands with many arguments.
|
||||
// For high-throughput scenarios, consider using 512 KiB.
|
||||
//
|
||||
// Smaller buffers can improve memory usage for larger pools.
|
||||
//
|
||||
// default: 32KiB (32768 bytes)
|
||||
// default: 64 KiB (65536 bytes)
|
||||
WriteBufferSize int
|
||||
|
||||
TLSConfig *tls.Config
|
||||
|
||||
Reference in New Issue
Block a user