orxtra v0.13.0 /orxtra dispatch
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

Flags
NameShortTypeDefaultEnvDescription
--cursorstrmainNamed cursor for this worker instance (enables multiple workers).
--poll-intervalfloat5.0Fallback polling interval in seconds when LISTEN/NOTIFY is idle.
--batch-sizeint100Maximum number of events to process in a single polling batch.
Search