Update auth.ts

This commit is contained in:
Nicolas 2025-03-02 02:40:34 -03:00
parent 99e61c967c
commit fea249c568

View File

@ -64,8 +64,8 @@ export async function setCachedACUC(
throw signal.error;
}
// Cache for 1 hour. - mogery
await setValue(cacheKeyACUC, JSON.stringify(acuc), 3600, true);
// Cache for 10 minutes
await setValue(cacheKeyACUC, JSON.stringify(acuc), 600, true);
});
} catch (error) {
logger.error(`Error updating cached ACUC ${cacheKeyACUC}: ${error}`);