mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-04 08:00:40 +08:00
fix: prioritize scrape jobs over crawl jobs
This commit is contained in:
parent
5f2af37880
commit
4bbc9db1df
@ -11,6 +11,7 @@ export async function addScrapeJob(
|
|||||||
return await getScrapeQueue().add(jobId, webScraperOptions, {
|
return await getScrapeQueue().add(jobId, webScraperOptions, {
|
||||||
...options,
|
...options,
|
||||||
jobId,
|
jobId,
|
||||||
|
priority: webScraperOptions.crawl_id ? 2 : 1,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user