Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Revert "Update auth.ts"

Nicolas64af3ba72809
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 8e7b749a4..2dca4767a 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}`);