mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-09-25 16:29:43 +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 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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user