Browse Source

BUGFIX: fix AutoGetWithGetter will never hit cache issue.

zxfishhack 7 months ago
parent
commit
3c49043a32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/utils/cache/redis_auto_type_test.go

+ 1 - 1
internal/utils/cache/redis_auto_type_test.go

@@ -35,7 +35,7 @@ func TestAutoType(t *testing.T) {
 }
 
 func TestAutoTypeWithGetter(t *testing.T) {
-	if err := InitRedisClient("192.168.125.241:26379", "difyai123456", false); err != nil {
+	if err := InitRedisClient("127.0.0.1:6379", "difyai123456", false); err != nil {
 		t.Fatal(err)
 	}
 	defer Close()