Skip to content

Commit

Permalink
feat(cache): update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronnie committed Dec 9, 2024
1 parent 4926d92 commit 286384c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func NewRedisNode(rds *redis.Redis, errNotFound error, opts ...zerocache.Option)
stats := zerocache.NewStat("redis-cache")
node := zerocache.NewNode(rds, singleFlights, stats, errNotFound, opts...)
return &cacheNode{
rds: rds,
node: node,
}
}

0 comments on commit 286384c

Please sign in to comment.