From f0b245bdfe711485e2e1c1d056eb3335870fd763 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Mon, 17 Mar 2025 07:02:15 +0000 Subject: [PATCH] Merged in fix/cache-time-test-env (pull request #1544) fix: lower cache time in test env * fix: lower cache time in test env Approved-by: Erik Tiekstra --- apps/scandic-web/server/routers/hotels/query.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/scandic-web/server/routers/hotels/query.ts b/apps/scandic-web/server/routers/hotels/query.ts index 54cdf00d8..ffe107178 100644 --- a/apps/scandic-web/server/routers/hotels/query.ts +++ b/apps/scandic-web/server/routers/hotels/query.ts @@ -196,7 +196,7 @@ export const getHotel = cache( async () => { return callable(input.hotelId, input.language, input.isCardOnlyPayment) }, - "1d" + env.CACHE_TIME_HOTELS ) } ) @@ -326,7 +326,7 @@ export const getHotelsAvailabilityByCity = async ( ), } }, - "1h" + env.CACHE_TIME_CITY_SEARCH ) }