I added a lock in all workflows of the draft order. I don't think there are drawbacks and it will make sure we don't run into concurrency issues in with draft orders. I don't see why we would not add this in the order workflows, let me know and I can add it too. I also didn't see any workflow that is long enough to justify adding a timeout of more than 2 seconds, but let me know if you think otherwise, we can discuss adjustments :) CLOSES-1228
83 B
83 B
@medusajs/core-flows
| @medusajs/core-flows |
|---|
| patch |
fix(core-flows): lock draft order workflows