Skip to content

Commit

Permalink
change scores cache expiry to 1 min
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed Feb 16, 2024
1 parent 83cf5e5 commit 1875bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const validPaths = ['stats', 'rankings', 'standings', 'history', 'scoreboard', '
// set cache expiry to 30 min
const cache = new ExpiryMap(30 * 60 * 1000)

// set scores cache expiry to 3 min
const scoreboardCache = new ExpiryMap(3 * 60 * 1000)
// set scores cache expiry to 1 min
const scoreboardCache = new ExpiryMap(1 * 60 * 1000)

//////////////////////////////////////////////////////////////////////////////
//////////////////////////////// ELYSIA //////////////////////////////////////
Expand Down

0 comments on commit 1875bbb

Please sign in to comment.