Skip to content

Commit c8c6819

Browse files
committed
add instant retry in docs
1 parent 5137370 commit c8c6819

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

docs/pages/configuration.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ patchlevel_event_sourcing:
213213
```
214214
Following store types are available:
215215

216-
- `dbal_aggregate` *default*
217-
- `dbal_stream` *experimental*
216+
- `dbal_aggregate` *default (deprecated)*
217+
- `dbal_stream` *recommended*
218218
- `in_memory`
219219
- `custom`
220220

@@ -481,6 +481,24 @@ patchlevel_event_sourcing:
481481

482482
You can find out more about the command bus and the aggregate handlers [here](https://event-sourcing.patchlevel.io/latest/command_bus/).
483483

484+
### Instant Retry
485+
486+
You can define the default instant retry configuration for the command bus.
487+
This will be used if you don't define a retry configuration for a specific command.
488+
489+
```yaml
490+
patchlevel_event_sourcing:
491+
command_bus:
492+
instant_retry:
493+
default_max_retries: 3
494+
default_exceptions:
495+
- Patchlevel\EventSourcing\Repository\AggregateOutdated
496+
```
497+
498+
!!! note
499+
500+
You can find out more about instant retry [here](https://event-sourcing.patchlevel.io/latest/command_bus/#instant-retry).
501+
484502
## Query Bus
485503

486504
You can enable the query bus integration to use queries to retrieve data from your system. For this bundle we provide

0 commit comments

Comments
 (0)