diff --git a/packages/@n8n/config/src/configs/cache.config.ts b/packages/@n8n/config/src/configs/cache.config.ts index fa1295d583619..50c3b8d1b12c6 100644 --- a/packages/@n8n/config/src/configs/cache.config.ts +++ b/packages/@n8n/config/src/configs/cache.config.ts @@ -15,7 +15,7 @@ class MemoryConfig { class RedisConfig { /** Prefix for cache keys in Redis. */ @Env('N8N_CACHE_REDIS_KEY_PREFIX') - prefix: string = 'redis'; + prefix: string = 'cache'; /** Time to live (in milliseconds) for data cached in Redis. 0 for no TTL. */ @Env('N8N_CACHE_REDIS_TTL') diff --git a/packages/@n8n/config/test/config.test.ts b/packages/@n8n/config/test/config.test.ts index adecff7f9d3ac..eb7c077a0a08f 100644 --- a/packages/@n8n/config/test/config.test.ts +++ b/packages/@n8n/config/test/config.test.ts @@ -181,7 +181,7 @@ describe('GlobalConfig', () => { ttl: 3600000, }, redis: { - prefix: 'redis', + prefix: 'cache', ttl: 3600000, }, },