Skip to content

Commit

Permalink
weather reduce caching TTL 30 -> 10 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
Supinic committed Oct 5, 2024
1 parent 2a2cbba commit 5a3e879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/weather/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ module.exports = {

data = response.body;
await this.setCacheData(weatherKey, data, {
expiry: 30 * 60_000 // 30 minutes cache
expiry: 10 * 60_000 // 10 minutes cache
});
}

Expand Down

0 comments on commit 5a3e879

Please sign in to comment.