소스 검색

BUGFIX: fix AutoGetWithGetter will never hit cache issue.

zxfishhack 7 달 전
부모
커밋
3c49043a32
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()