Skip to content

Commit 4e73844

Browse files
dsmellokacpersaw
authored andcommitted
Fix the usage of RedisAddress
1 parent b72e1f2 commit 4e73844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func New() *marshaler.Marshaler {
3535
var manager *cache.MetricCache[any]
3636
if RedisAddress != "" {
3737
log.Info("using redis cache")
38-
opt, err := redis.ParseURL("redis://:qwerty@localhost:6379/1")
38+
opt, err := redis.ParseURL(RedisAddress)
3939
if err != nil {
4040
panic(err)
4141
}

0 commit comments

Comments
 (0)