Skip to content

Commit

Permalink
fixed delayed queue publish failed
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed May 22, 2024
1 parent 8ab4a6f commit eccc173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builders/QueueBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct()
$this->getBuilderConfig()->setPrefetchSize($this->queueConfig['prefetch_size'] ?? 0);
$this->getBuilderConfig()->setGlobal($this->queueConfig['is_global'] ?? false);
$this->getBuilderConfig()->setCallback([$this, 'handler']);
if($config['delayed'] ?? false){
if($this->queueConfig['delayed'] ?? false){
$this->getBuilderConfig()->setArguments([
'x-delayed-type' => $this->getBuilderConfig()->getExchangeType()
]);
Expand Down

0 comments on commit eccc173

Please sign in to comment.