coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
567 stars 129 forks source link

Move tasks & orders exports to a message handler #4596

Closed alexsegura closed 1 month ago

alexsegura commented 2 months ago

In order to better decouple things, and allow asynchronous exports over a long period without timeouts (optional), the code that exports orders & tasks should be moved to a message handler.

The code is located here:

alexsegura commented 2 months ago

It should be possible for the message handler to return the CSV content, so that it can be retrieved this way.

Of course, it would only work for synchronous messages.

alexsegura commented 1 month ago

Merged in #4606