New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an ignoreLock option for moveToCompleted? #1138
Comments
Thanks for your comment, I've read that page. But my use case is different. When I use |
Then use the same token id for everything and it should work. |
@Pro-Ton did you find a solution for this? I have the exact same use-case (manually processing jobs, given a specific ID), and the following code doesn't work: const job = await queue.getJob(id)
job && job.moveToCompleted('returndata', 'token', false) It throws with the error |
@Niek Did you solve this problem? |
Hi, In the Bull3 I had a manual handling queue in which clients sent completed jobs to a REST endpoint and I could move them to completed like this:
But in the BullMQ I wasn't able to produce such functionality:
I tried:
But I get exception:
Error: Missing lock for job 14.
Clearly there was an option to ignoreLock in the previous version. I searched the docs but couldn't find similar option. Is there any options or other way of doing such functionality?
Thanks for the amazing work.
The text was updated successfully, but these errors were encountered: