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)