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 `Login` entry from the previous configuration, ensuring clarity in the query time-to-live settings.
This commit is contained in:
parent
7fe1b89f5b
commit
20b2b44572
@ -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