mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-09-26 08:52:50 +00:00
fix(crawl-status): returnvalue filtering on active jobs
This commit is contained in:
parent
35d9d8e822
commit
f8e619b5df
@ -101,7 +101,7 @@ export async function crawlStatusController(req: RequestWithAuth<CrawlStatusPara
|
|||||||
const job = jobs[ii];
|
const job = jobs[ii];
|
||||||
const state = await job.getState();
|
const state = await job.getState();
|
||||||
|
|
||||||
if (state === "failed") {
|
if (state === "failed" || state === "active") { // TODO: why is active here? race condition? shouldn't matter tho - MG
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user