mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-06 05:58:35 +08:00
fix(queue-worker): concurrency
This commit is contained in:
parent
d7d63790e5
commit
7c5cda7b45
@ -102,7 +102,7 @@ const workerFun = async (queueName: string, processJobInternal: (token: string,
|
||||
|
||||
const job = await worker.getNextJob(token);
|
||||
if (job) {
|
||||
await processJobInternal(token, job);
|
||||
processJobInternal(token, job);
|
||||
await sleep(gotJobInterval);
|
||||
} else {
|
||||
await sleep(connectionMonitorInterval);
|
||||
|
Loading…
x
Reference in New Issue
Block a user