Fix repo Face active queue accounting
This commit is contained in:
parent
92385bba4c
commit
1ad70a2e6f
4 changed files with 32 additions and 8 deletions
|
|
@ -177,7 +177,7 @@ async function processPendingJobs(): Promise<void> {
|
|||
resolve("config/system-messages.json"),
|
||||
);
|
||||
providerRegistry = await buildProviderRegistry(systemMessages);
|
||||
const jobs = await jobQueue.claimRunnableJobs();
|
||||
const jobs = await jobQueue.claimRunnableJobs(1);
|
||||
|
||||
for (const job of jobs) {
|
||||
await processJob(job);
|
||||
|
|
|
|||
Loading…
Reference in a new issue