feat(events): Implement default priority-based event processing (#14476)
* feat(events): Set internal events default priority to lowest, default events to 100 and order placed to 10 * Create swift-months-rush.md * improvements * improvements * improvements * fix condition * doc * fix tests * fix tests --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
43951ce60e
commit
7307a5e63f
11
.changeset/swift-months-rush.md
Normal file
11
.changeset/swift-months-rush.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
"@medusajs/event-bus-redis": patch
|
||||
"@medusajs/core-flows": patch
|
||||
---
|
||||
|
||||
feat(events): Implement priority-based event processing
|
||||
|
||||
- Internal events default to lowest priority (2,097,152) to prevent queue overload
|
||||
- Normal events default to priority 100
|
||||
- Order placed events explicitly set to priority 10 for immediate processing
|
||||
- Support for priority overrides at message, emit, and module levels
|
||||
Reference in New Issue
Block a user