Skip to content

Commit

Permalink
Update cache duration for getLatestOpeningHoursForVenue
Browse files Browse the repository at this point in the history
  • Loading branch information
cubehouse committed Feb 3, 2024
1 parent 64c4dfb commit 06aec8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parks/universal/universal.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ export class UniversalResortBase extends Destination {
* Get the latest raw opening hours for a given venue
*/
async getLatestOpeningHoursForVenue(venueId) {
// cache for 12 hours
'@cache|720';
// cache for 3 hours
'@cache|180';
const now = this.getTimeNowMoment();
const cal = await this.http('GET', `${this.config.baseURL}/venues/${venueId}/hours`, {
endDate: now.clone().add(190, 'days').format('MM/DD/YYYY'),
Expand Down

0 comments on commit 06aec8a

Please sign in to comment.