Skip to content

Commit

Permalink
cache promotions longer
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Dec 1, 2024
1 parent 2c4963a commit a90edb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const getPromotedEntries = async (): Promise<Entry[]> => {
if (promoted === undefined) {
try {
promoted = await fetchPromotedEntries();
cache.set("promoted-entries", promoted, 60);
cache.set("promoted-entries", promoted, 300);
} catch (e) {
promoted = [];
}
Expand Down

0 comments on commit a90edb8

Please sign in to comment.