Open guillaumeklaus opened 5 months ago
I think this is a case of the multiple parents feature request that some people have been requesting in the past. Unfortunatelly not supported. I am not sure if in your case you could solve this by having the job parcelRetrieval be a standard job, that as last thing it does is creating the two flows firstPageGeneration and secondPageGeneration, passing its result to both of them.
On my current project I use bullmq (with NestJS) to queue jobs needed to generate a rather big pdf.
Each page of my pdf gathers informations from different db or api calls.
Some pages need the same first job, currently this first job is duplicated, my question is : is it possible to share this job between different flows ?
My code example :
Both flows depend on
parcelRetrieval
, my goal would be to deduplicate this, any thoughts ?