mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-12-30 00:37:31 +00:00
fix(acuc): cache for 1 hour
This commit is contained in:
parent
b72e21a697
commit
44bf59229a
@ -64,9 +64,8 @@ export async function setCachedACUC(
|
||||
throw signal.error;
|
||||
}
|
||||
|
||||
// Cache for 10 minutes. This means that changing subscription tier could have
|
||||
// a maximum of 10 minutes of a delay. - mogery
|
||||
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}`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user