mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-18 05:56:02 +08:00
Nick: log clear ACUC cache
This commit is contained in:
parent
990944188e
commit
1477ab2359
@ -14,6 +14,7 @@ export async function acucCacheClearController(req: Request, res: Response) {
|
|||||||
|
|
||||||
await Promise.all((keys.data ?? []).map((x) => clearACUC(x.key)));
|
await Promise.all((keys.data ?? []).map((x) => clearACUC(x.key)));
|
||||||
|
|
||||||
|
logger.info(`ACUC cache cleared for team ${team_id}`);
|
||||||
res.json({ ok: true });
|
res.json({ ok: true });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(`Error clearing ACUC cache via API route: ${error}`);
|
logger.error(`Error clearing ACUC cache via API route: ${error}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user