Skip to content

Commit

Permalink
improving aram helper
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloendoh committed Jun 3, 2024
1 parent 07d648e commit 01f3e1a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@ export class _CacheLolGraphAramStats {

JSON.stringify({
data,
expiresAt: Date.now() + 60 * 60 * 24,
})
expiresAt: Date.now() + 60 * 60 * 24, // ONE DAY
}),
"EX",

60 * 60 * 24 * 30 // ONE MONTH
)

return data
Expand Down

0 comments on commit 01f3e1a

Please sign in to comment.