Skip to content

Commit

Permalink
Used the run method to call the flush method provided in th bunny client
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Nov 21, 2023
1 parent 3e16e14 commit 4330c6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Rejection.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public function reject(object|array $rejection, ?\Throwable $exception = null):
$this->exchange,
$this->topic,
);

$this->channel->getClient()->run(0);
}

public function initialize(): void
Expand Down

0 comments on commit 4330c6e

Please sign in to comment.