ShouldQueueWithoutChain for Exports #3256
jayceedaily
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
It already exists: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using laravel vapor and I am having issues exporting an excel file with a million rows. The problem is that the chained job that is created runs so long that it timesout the lambda. The problem with chained jobs is that it is treated as a single job on lambda hence hitting the limit. Would it be possible to change this behavior in a way that the array of the chained job will be passed on an AppendQueryToSheet, and once that job is done, it will then dispatch another AppendQueryToSheet with one less item on the chained job list. This way it will not hit the 15 minute limit of lambda since it will create a new instance of lambda everytime it finishes.
Current
Lambda 1 - [ AppendQueryToSheet(1) > AppendQueryToSheet(2) > AppendQueryToSheet(3) ]
Proposed
Lambda 1 - AppendQueryToSheet([1,2,3])
Lambda 2 - AppendQueryToSheet([2,3])
Lambda 3 - AppendQueryToSheet([1])
Beta Was this translation helpful? Give feedback.
All reactions