mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-04 05:50:44 +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, {
|
||||
...options,
|
||||
jobId,
|
||||
priority: webScraperOptions.crawl_id ? 2 : 1,
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user