mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Add worker ID to job attribute
This commit is contained in:
parent
3ad9bf7ac0
commit
85ff0c311e
|
@ -109,6 +109,7 @@ const workerFun = async (queueName: string, processJobInternal: (token: string,
|
|||
op: "bullmq.job",
|
||||
attributes: {
|
||||
job: job.id,
|
||||
worker: process.env.FLY_MACHINE_ID ?? worker.id,
|
||||
},
|
||||
}, async () => {
|
||||
await processJobInternal(token, job);
|
||||
|
|
Loading…
Reference in New Issue
Block a user