Forráskód Böngészése

BUGFIX: fix AutoGetWithGetter will never hit cache issue.

zxfishhack 6 hónapja%!(EXTRA string=óta)
szülő
commit
3c49043a32
1 módosított fájl, 1 hozzáadás és 1 törlés
  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()