From 64af3ba728098df664e189362fff9ad2519050d0 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 3 Mar 2025 16:26:42 -0300 Subject: [PATCH] Revert "Update auth.ts" This reverts commit fea249c568c4a8d63bcc2e560fd3655e73350be6. --- apps/api/src/controllers/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts index 8e7b749a..2dca4767 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -64,8 +64,8 @@ export async function setCachedACUC( throw signal.error; } - // Cache for 10 minutes - await setValue(cacheKeyACUC, JSON.stringify(acuc), 600, true); + // Cache for 1 hour. - mogery + await setValue(cacheKeyACUC, JSON.stringify(acuc), 3600, true); }); } catch (error) { logger.error(`Error updating cached ACUC ${cacheKeyACUC}: ${error}`);