From 01433e801d0840774128c6b542c167e05e91a318 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Sep 2026 16:16:35 -0700 Subject: [PATCH] build(deps): bump github.com/redis/go-redis/v9 from 9.21.0 to 9.22.0 (#11306) * build(deps): bump github.com/redis/go-redis/v9 from 9.21.0 to 9.22.0 Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.21.0 to 9.22.0. - [Release notes](https://github.com/redis/go-redis/releases) - [Changelog](https://github.com/redis/go-redis/blob/master/RELEASE-NOTES.md) - [Commits](https://github.com/redis/go-redis/compare/v9.21.0...v9.22.0) --- updated-dependencies: - dependency-name: github.com/redis/go-redis/v9 dependency-version: 9.22.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * test(redis_conf): track go-redis 9.22.0 default read timeout of 5s go-redis 9.22.0 raised the default ReadTimeout from 3s to 5s (part of the cross-SDK configuration alignment). Update TestUnsetKeepsGoRedisDefaults to expect the new default so the bump in #11306 stops failing CI. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Lu --- go.mod | 2 +- go.sum | 4 ++-- weed/filer/redis_conf/redis_conf_test.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 55f34ae8f..0fe155f66 100644 --- a/go.mod +++ b/go.mod @@ -146,7 +146,7 @@ require ( github.com/rabbitmq/amqp091-go v1.14.0 github.com/rclone/rclone v1.75.1 github.com/rdleal/intervalst v1.5.0 - github.com/redis/go-redis/v9 v9.21.0 + github.com/redis/go-redis/v9 v9.22.0 github.com/schollz/progressbar/v3 v3.19.1 github.com/seaweedfs/go-fuse/v2 v2.9.4 github.com/shirou/gopsutil/v4 v4.26.7 diff --git a/go.sum b/go.sum index 533b50969..d96ad08ef 100644 --- a/go.sum +++ b/go.sum @@ -1770,8 +1770,8 @@ github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5X github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rdleal/intervalst v1.5.0 h1:SEB9bCFz5IqD1yhfH1Wv8IBnY/JQxDplwkxHjT6hamU= github.com/rdleal/intervalst v1.5.0/go.mod h1:xO89Z6BC+LQDH+IPQQw/OESt5UADgFD41tYMUINGpxQ= -github.com/redis/go-redis/v9 v9.21.0 h1:FPBE4hhbAke+TLmcY3WkpbDffJEomdqPn3HYiqAtL9E= -github.com/redis/go-redis/v9 v9.21.0/go.mod h1:v/M13XI1PVCDcm01VtPFOADfZtHf8YW3baQf57KlIkA= +github.com/redis/go-redis/v9 v9.22.0 h1:laDvpYXTJtZLloinw1fA5Kqd6HAEH2XKxOkG/PDq2F0= +github.com/redis/go-redis/v9 v9.22.0/go.mod h1:y2g0Wj8rQvuK0ELM+oxSudcLtC09JScs98I/X9gRWY4= github.com/redis/rueidis v1.0.76 h1:RdDWuvlYBSp+bTrBvaXqJnNEL3VVzsnjo+0psPFgLc4= github.com/redis/rueidis v1.0.76/go.mod h1:UsfHPSbomB6QAVMk4iiFkzRy0nh9o7scDGa+SitvBY4= github.com/redis/rueidis/rueidiscompat v1.0.76 h1:7LikbiqCQqCsZXeZ+akgZMnjIV/J0VHih9PIX4gGZC4= diff --git a/weed/filer/redis_conf/redis_conf_test.go b/weed/filer/redis_conf/redis_conf_test.go index a4a84d31a..6bc21717b 100644 --- a/weed/filer/redis_conf/redis_conf_test.go +++ b/weed/filer/redis_conf/redis_conf_test.go @@ -47,8 +47,8 @@ func TestUnsetKeepsGoRedisDefaults(t *testing.T) { client := redis.NewFailoverClient(options) defer client.Close() - if got := client.Options().ReadTimeout; got != 3*time.Second { - t.Fatalf("read timeout %v, want the go-redis default of 3s", got) + if got := client.Options().ReadTimeout; got != 5*time.Second { + t.Fatalf("read timeout %v, want the go-redis default of 5s", got) } if got := client.Options().MaxRetries; got != 3 { t.Fatalf("max retries %d, want the go-redis default of 3", got)