diff --git a/cache.go b/cache.go index ce4d6e9..62f04c8 100644 --- a/cache.go +++ b/cache.go @@ -157,7 +157,7 @@ func (c *localCacher[T]) GetFromCache(id string, options ...Option) (t *T, err e if c.cacheDuration.Nanoseconds() > 0 { var earliestCreateTime = time.Now().Add(-c.cacheDuration) if a.CreateTime.Before(earliestCreateTime) { - log.Infof("app(%s) is in redis cache but expired", id) + log.Infof("cache(%s) is in redis cache but expired", id) //TODO: cocurrent delete(c.cacheItems, id) return nil, ErrNotFound