mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
fix(scrape): remove scrape job from queue after the job is done
This commit is contained in:
parent
2413e33359
commit
5f2af37880
|
@ -62,6 +62,8 @@ export async function scrapeHelper(
|
|||
}
|
||||
}
|
||||
|
||||
await job.remove();
|
||||
|
||||
if (!doc) {
|
||||
console.error("!!! PANIC DOC IS", doc, job);
|
||||
return { success: true, error: "No page found", returnCode: 200, data: doc };
|
||||
|
|
Loading…
Reference in New Issue
Block a user