Merge pull request #24821 from raffitamizian/add-to-config

Update cache config.d.ts to reflect valid option
This commit is contained in:
Patrik Oldsberg
2024-05-17 14:46:48 +02:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Updated configuration schema to include the `useRedisSets` cache config option.
+5
View File
@@ -191,6 +191,11 @@ export interface Config {
connection: string;
/** An optional default TTL (in milliseconds). */
defaultTtl?: number;
/**
* Whether or not [useRedisSets](https://github.com/jaredwray/keyv/tree/main/packages/redis#useredissets) should be configured to this redis cache.
* Defaults to true if unspecified.
*/
useRedisSets?: boolean;
}
| {
store: 'memcache';