diff --git a/apps/api/src/proxy/lib/config.ts b/apps/api/src/proxy/lib/config.ts index e980688..bb939eb 100644 --- a/apps/api/src/proxy/lib/config.ts +++ b/apps/api/src/proxy/lib/config.ts @@ -8,12 +8,12 @@ export const queryTTL: Record = { GetBrands: seconds().fromHours(3), GetCoefficients: seconds().fromHours(12), GetConfiguration: seconds().fromHours(3), - GetConfigurations: seconds().fromHours(3), + GetConfigurations: seconds().fromMinutes(15), GetCurrencyChanges: seconds().fromHours(1), GetDealer: seconds().fromHours(1), GetDealerPerson: seconds().fromHours(1), GetDealerPersons: seconds().fromHours(1), - GetDealers: seconds().fromHours(1), + GetDealers: seconds().fromMinutes(15), GetFuelCards: seconds().fromHours(12), GetGPSBrands: seconds().fromHours(24), GetGPSModels: seconds().fromHours(24), @@ -28,7 +28,7 @@ export const queryTTL: Record = { GetLeaseObjectTypes: seconds().fromHours(24), GetLeasingWithoutKaskoTypes: seconds().fromHours(12), GetModel: seconds().fromHours(3), - GetModels: seconds().fromHours(3), + GetModels: seconds().fromMinutes(15), GetOpportunities: false, GetOpportunity: false, GetOpportunityUrl: seconds().fromHours(12),