Updated
On this page
Run the persistent dispatch worker that delivers stored events to their subscriptions and executes the action chains those subscriptions declare.
#orxtra dispatch
Manage the persistent event dispatch worker process.
#dispatch run
Start the long-running dispatch worker that delivers stored events to their subscriptions and executes the action chains those subscriptions declare. Wakes on PostgreSQL LISTEN/NOTIFY and falls back to polling every --poll-interval seconds, up to --batch-size events a batch. Use --cursor to run several workers over independent positions.
Effect: mutating
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--cursor | str | main | Named cursor for this worker instance (enables multiple workers). | ||
--poll-interval | float | 5.0 | Fallback polling interval in seconds when LISTEN/NOTIFY is idle. | ||
--batch-size | int | 100 | Maximum number of events to process in a single polling batch. |