Replies: 1 comment 1 reply
-
You are adding 10 delayed jobs as soon as the Module initializes. Why aren't you adding the next job inside the consumeQ function? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I intend to create a sequence where each job is executed with a delay in between, following a pattern like this:
Delay(3000) -> Job 1 -> Delay(3000) -> Job 2 -> Delay(3000) -> Job 3 -> ...
However, the current behavior I'm experiencing seems to introduce the initial delay and then execute all subsequent jobs without further delays:
Delay(3000) -> Job 1 -> Job 2 -> Job 3 -> ...
I would like to seek your advice on how to achieve the desired behavior of introducing delays between each job execution consistently.
Bull version
Beta Was this translation helpful? Give feedback.
All reactions