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
This commit is contained in:
@@ -196,7 +196,7 @@ export const getHotel = cache(
|
|||||||
async () => {
|
async () => {
|
||||||
return callable(input.hotelId, input.language, input.isCardOnlyPayment)
|
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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user