bullmq icon indicating copy to clipboard operation
bullmq copied to clipboard

[Bug]: Allow Active Job to run indefinetely

Open thearchitectxy opened this issue 2 years ago • 4 comments

Version

4.2.1

Platform

NodeJS

What happened?

What option do we pass to avoid this erro "Job takes soo long in active state" @manast , we just want to have a running aggregation job that takes 2-3hrs to complete in the queue sandboxed processors. thank you

How to reproduce.

Have a long running job

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

thearchitectxy avatar Oct 09 '23 00:10 thearchitectxy

There is no such error in BullMQ.

manast avatar Oct 09 '23 16:10 manast

Error is shown on bull-board, error name aside is there any restrictions to how long a job can run for? @manast

hamidladan avatar Oct 09 '23 16:10 hamidladan

No, there are not.

manast avatar Oct 09 '23 18:10 manast

hi @hamidladan it should be good if you can provide us what kind of logic if behind that error as @manast mentioned, we don't have that error message, it's also possible that there is a custom lofic on that repo that throws it

roggervalf avatar Nov 01 '23 04:11 roggervalf