Feature/extract common CACHE_TTL as constants (#3722)

Extract CACHE_TTL

* CACHE_TTL_NO_CACHE
* CACHE_TTL_INFINITE
This commit is contained in:
Thomas Kaul
2024-09-05 18:23:38 +02:00
committed by GitHub
parent fb44933c9c
commit df5e2f5f0e
4 changed files with 15 additions and 5 deletions

View File

@@ -30,6 +30,9 @@ export const warnColorRgb = {
b: 69
};
export const CACHE_TTL_NO_CACHE = 1;
export const CACHE_TTL_INFINITE = 0;
export const DATA_GATHERING_QUEUE = 'DATA_GATHERING_QUEUE';
export const DATA_GATHERING_QUEUE_PRIORITY_HIGH = 1;
export const DATA_GATHERING_QUEUE_PRIORITY_LOW = Number.MAX_SAFE_INTEGER;