FlowProducer does not use defaultJobOptions from specified queue.
#21
-
|
So I have a queue setup and a FlowProducer. I use the In the queue I setup the However it seems that it does not run again. There is an option to set Also this |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey, thanks for the detailed report! I investigated this and here's what's happening: 1.
|
Beta Was this translation helpful? Give feedback.
Hey, thanks for the detailed report!
I investigated this and here's what's happening:
1.
defaultJobOptionsis not applied to FlowProducer jobsThis is a current limitation. When you use
Queue.add(),defaultJobOptionsis merged with per-call options. However,FlowProducer#addChainonly usesstep.opts— it does not read or mergedefaultJobOptionsfrom the queue.So even if you set
repeat: { every: 1000 }indefaultJobOptions, it won't be applied to chain steps.Workaround for now: set
repeatexplicitly in each step'sopts: