You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#837 is closed after Hotfix MR, so registering new issue.
Issue
I am on 1.51.1 (post the Hotfix) and still receiving this error.
2021-10-29 04:53:18.069 ERROR
[
'Error acquiring job for worker "fc97cf34-8e61-49f9-9e40-6cb7330c92df":',
ReferenceError: updateParentDepsIfNeeded is not defined
at eval (lodash.templateSources[1]:9:11)
at loadScripts (/home/node_modules/bullmq/dist/commands/index.js:64:47)
at async Object.exports.load (/home/node_modules/bullmq/dist/commands/index.js:24:21)
at async RedisConnection.init (/home/node_modules/bullmq/dist/classes/redis-connection.js:98:9),
0,
0
]
Code
exportconstacquireJob=async<Request,Response>(bullWorker: BullWorker<Request,Response>,uuid: string): Promise<BullJob<Request,Response>>=>{letattempts: number=0letduration: number=0consttimeout: number=env.JOB_ACQUISITION_TIMEOUTconststartedAt: number=Date.now()// Loop until a job lock is acquired.while(duration<timeout){try{constjob: BullJob<Request,Response>|undefined=(awaitbullWorker.getNextJob(uuid))??undefinedif(job){logger.info(`Acquired job!`,{id: job.id})returnjob}attempts++duration+=Date.now()-startedAt}catch(error){logger.error(`Error acquiring job for worker "${uuid}":`,error,attempts,duration)}}thrownewJobAcquisitionTimeoutError(uuid,attempts,duration)}
Context
Docker, Ubuntu 20.04
Node 16
BullMQ 1.51.1
The text was updated successfully, but these errors were encountered:
Recurrence
#837 is closed after Hotfix MR, so registering new issue.
Issue
I am on
1.51.1
(post the Hotfix) and still receiving this error.Code
Context
The text was updated successfully, but these errors were encountered: