[management] add log when using redis cache (#3562)

This commit is contained in:
Pascal Fischer
2025-03-21 18:16:27 +01:00
committed by GitHub
parent b62a1b56ce
commit f081435a56
5 changed files with 15 additions and 12 deletions

View File

@ -198,7 +198,7 @@ func BuildManager(
log.WithContext(ctx).Infof("single account mode disabled, accounts number %d", accountsCounter)
}
cacheStore, err := nbcache.NewStore(nbcache.DefaultIDPCacheExpirationMax, nbcache.DefaultIDPCacheCleanupInterval)
cacheStore, err := nbcache.NewStore(ctx, nbcache.DefaultIDPCacheExpirationMax, nbcache.DefaultIDPCacheCleanupInterval)
if err != nil {
return nil, fmt.Errorf("getting cache store: %s", err)
}