Merge pull request #31688 from VDVsx/memory-cache-config-warn

Don't warn when parsing storeOptions for 'memory' cache
This commit is contained in:
Fredrik Adelöw
2025-12-13 19:59:02 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
Don't warn when parsing `storeOptions` for `memory` cache
@@ -134,7 +134,7 @@ export class CacheManager {
): CacheStoreOptions | undefined {
const storeConfigPath = `backend.cache.${store}`;
if (!config.has(storeConfigPath)) {
if (store !== 'memory' && !config.has(storeConfigPath)) {
logger?.warn(
`No configuration found for cache store '${store}' at '${storeConfigPath}'.`,
);