Update queryTTL configuration in cache-proxy to include new endpoints and set default values to false
- Added new entries for GetCustomers, GetInvited, GetInvitedBy, GetOrders, GetServices, GetSlots, and GetSubscriptionHistory with default values set to false. - Removed the default value for Login and adjusted existing entries for clarity and consistency in the configuration.
This commit is contained in:
parent
bf28157423
commit
56811f0ecb
@ -1,13 +1,18 @@
|
||||
import { seconds } from 'src/utils/time';
|
||||
|
||||
export const queryTTL: Record<string, number | false> = {
|
||||
Login: false,
|
||||
GetCustomer: seconds().fromHours(24),
|
||||
GetCustomers: false,
|
||||
GetInvited: false,
|
||||
GetInvitedBy: false,
|
||||
GetOrder: seconds().fromHours(24),
|
||||
GetOrders: false,
|
||||
GetService: seconds().fromHours(24),
|
||||
GetServices: false,
|
||||
GetSlot: seconds().fromHours(24),
|
||||
GetSlots: false,
|
||||
GetSlotsOrders: false,
|
||||
GetSubscriptionPrices: seconds().fromHours(24),
|
||||
GetSubscriptions: seconds().fromHours(24),
|
||||
GetSubscriptionSettings: seconds().fromHours(1),
|
||||
GetSubscriptionHistory: false,
|
||||
GetSubscriptions: false,
|
||||
Login: false,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user