Exporters should use queue jobs #9132
Unanswered
modelesque
asked this question in
Ideas
Replies: 1 comment 3 replies
-
It wouldn’t be possible to move the export functionality to a queue job without adding some complexity to the workflow, such as adding a new section for viewing/downloading your recent exports, once available. So I’ve moved this to a discussion. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
My client needs to export all of their orders every week. This is because our orders can be placed up to a year or two in advance, and they go through several different order statuses with lots of things changing throughout that process until the order is delivered.
I built a custom export for my client to gather only the fields needed per order, but now the export is timing out (with about 1000 orders currently in the system). I wish I could do this via the CLI but it's something I need our accounting department to be able to do on their own time via the CMS.
So far it doesn't appear possible to export data batched into background queue jobs so that it doesn't time out in the browser. Or is it possible? If so, is there documentation on it? If not, will this be coming in a new release in the very near future?
I imagine this to be a common problem for sites growing with hundreds or thousands of entries/users/orders/etc. What is the Craft way to handle this?
Steps to reproduce
Additional info
Beta Was this translation helpful? Give feedback.
All reactions