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:
parent
0039de3499
commit
b43d166b2e
@ -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),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user