1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-02 06:22:31 +03:00

autopipeline playground

This commit is contained in:
Nedyalko Dyakov
2025-10-27 16:08:40 +02:00
parent 9f3f8b7c7b
commit 7198f47baa
17 changed files with 1806 additions and 7 deletions

View File

@@ -264,6 +264,12 @@ type Options struct {
// transitions seamlessly. Requires Protocol: 3 (RESP3) for push notifications.
// If nil, maintnotifications are in "auto" mode and will be enabled if the server supports it.
MaintNotificationsConfig *maintnotifications.Config
// AutoPipelineConfig enables automatic pipelining of commands.
// When set, commands will be automatically batched and sent in pipelines
// to reduce network round-trips and improve throughput.
// If nil, autopipelining is disabled.
AutoPipelineConfig *AutoPipelineConfig
}
func (opt *Options) init() {