feat: update scheduler_default transport to disable retries for transient failures
This commit is contained in:
@@ -13,6 +13,11 @@ framework:
|
|||||||
sync: 'sync://'
|
sync: 'sync://'
|
||||||
scheduler_default:
|
scheduler_default:
|
||||||
dsn: 'schedule://default'
|
dsn: 'schedule://default'
|
||||||
|
# SchedulerTransport cannot send(); any retry re-send crashes the
|
||||||
|
# worker with "cannot send messages". Disable retry — a transient
|
||||||
|
# handler failure (e.g. DB blip) is simply retried on the next tick.
|
||||||
|
retry_strategy:
|
||||||
|
max_retries: 0
|
||||||
|
|
||||||
routing:
|
routing:
|
||||||
'App\Shared\Message\SendSmsMessage': async
|
'App\Shared\Message\SendSmsMessage': async
|
||||||
|
|||||||
Reference in New Issue
Block a user