Replies: 4 comments 1 reply
-
Normally you do not need to modify this parameter, so the question is how are your process functions implemented so that they end stalling jobs in the first place? |
Beta Was this translation helpful? Give feedback.
-
In general, keeping the event loop busy in nodejs is not a good thing. You can break the array iteration into small chunks and return the code execution to the event loop in between using await for example. |
Beta Was this translation helpful? Give feedback.
-
did you figure it out? |
Beta Was this translation helpful? Give feedback.
-
Not sure what you mean by that, I always “bother” to explain everything with the best of my abilities, I am not infalible though. Here is one of the places where stalledInterval is explained: https://docs.bullmq.io/guide/workers/stalled-jobs <https://docs.bullmq.io/guide/workers/stalled-jobs>
On 10 Mar 2025, at 12:29, Christian ***@***.***> wrote:
Everytime someone asks for advice on how to set this parameter, you're always telling them that they shouldn't need to touch it and never actually offer guidance. Why even make it an option if you're never going to bother explaining it then?
—
Reply to this email directly, view it on GitHub <#2234 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAXHYHBXRCXFG54IRW23NT2TVZQPAVCNFSM6AAAAABYV3SWS6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBUHAYDCNQ> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AAAXHYDKA4PS5WKRNAT23KD2TVZQPA5CNFSM6AAAAABYV3SWS6WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAXXYRA.gif> Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to use stalledInterval settings to prevent from a process to be stalled in the default time.
It seems like nothing I do affect the job to get to on stalled.
Can I get an example of a function that does work?
Beta Was this translation helpful? Give feedback.
All reactions