Skip to content

Commit

Permalink
Update docs with failed messages remove command
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 authored Sep 19, 2024
1 parent be57737 commit 4a5c346
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/02-admin/04-running-mbin/messenger.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ We have a few different queues:
9. `dead` [PostgreSQL]: dead jobs that will not be retried

We need the `dead` queue so that messages that throw a `UnrecoverableMessageHandlingException`, which is used to indicate that a message should not be retried and go straight to the supplied failure queue

## Remove failed messages

We created a simple command to clean-up all the failed messages from the database at once:

```bash
./bin/console mbin:messenger:failed:remove_all
```

0 comments on commit 4a5c346

Please sign in to comment.