Skip to content

Commit

Permalink
Temporarily reduce redis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
piekczyk committed Jun 26, 2024
1 parent 2557abc commit d49e726
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion summerfi-api/get-apy-function/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export const handler = async (
: await getRedisInstance(
{
url: REDIS_CACHE_URL,
ttlInSeconds: ONE_HOUR * 6,
// Temporarily reduced to 20 min, standard value is 6h
ttlInSeconds: ONE_HOUR / 3,
username: REDIS_CACHE_USER,
password: REDIS_CACHE_PASSWORD,
stage: STAGE,
Expand Down

0 comments on commit d49e726

Please sign in to comment.