Skip to content

Commit

Permalink
添加 Job 消费者注册监听器到 ConfigProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Oct 12, 2024
1 parent ed881ce commit 173ba8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/amqp-job/src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public function __invoke()
Attempt::class => RedisAttempt::class,
Packer::class => PhpSerializerPacker::class,
],
'listeners' => [
Listener\RegisterJobConsumer::class,
],
];
}
}

0 comments on commit 173ba8e

Please sign in to comment.