Skip to content

Commit

Permalink
修复 AmqpJob 注解构造函数中的队列参数顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Oct 12, 2024
1 parent 173ba8e commit 8f265bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amqp-job/src/Annotation/AmqpJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class AmqpJob extends AbstractAnnotation
public function __construct(
public string $exchange,
public string $routingKey,
public ?string $queue = null,
public string $pool = 'default',
public ?string $queue = null,
public int $maxAttempts = 0,
public int $maxConsumption = 1,
public bool $confirm = false,
Expand Down

0 comments on commit 8f265bf

Please sign in to comment.