Skip to content

Commit

Permalink
Update functions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
BeamlakAschalew authored Jan 21, 2024
1 parent e3ca2a6 commit 440d5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export async function fetchDash(
};

let res = redis
? await cache.fetch(redis, key, fetchLinks, 15 * 24 * 60 * 60)
? await cache.fetch(redis, key, fetchLinks, 24 * 60 * 60)
: await fetchLinks();

reply.status(200).send(res);
Expand Down

0 comments on commit 440d5b0

Please sign in to comment.