Merged in fix/cache-fixes (pull request #1555)
fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete * fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -64,7 +64,9 @@ export type DataCache = {
|
||||
*/
|
||||
cacheOrGet: <T>(
|
||||
key: string | string[],
|
||||
getDataFromSource: () => Promise<T>,
|
||||
getDataFromSource: (
|
||||
overrideTTL?: (cacheTime: CacheTime) => void
|
||||
) => Promise<T>,
|
||||
ttl: CacheTime
|
||||
) => Promise<T>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user