Update cache proxy configuration for query time-to-live settings

- Increased the time-to-live for `GetCustomer`, `GetOrder`, `GetService`, and `GetSlot` queries to 24 hours, enhancing cache efficiency and performance.
- Maintained the existing setting for `GetSubscriptions`, which remains at 12 hours.
This commit is contained in:
vchikalkin 2025-10-06 21:59:19 +03:00
parent 0039de3499
commit b43d166b2e

View File

@ -2,5 +2,8 @@ import { seconds } from 'src/utils/time';
export const queryTTL: Record<string, number | false> = {
Login: false,
GetSubscriptions: seconds().fromHours(12),
GetCustomer: seconds().fromHours(24),
GetOrder: seconds().fromHours(24),
GetService: seconds().fromHours(24),
GetSlot: seconds().fromHours(24),
};