From 173ba8e79ca2dbb5fd4995f86e732da7ec1b4d1c Mon Sep 17 00:00:00 2001 From: Deeka Wong <8337659+huangdijia@users.noreply.github.com> Date: Sat, 12 Oct 2024 11:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Job=20=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E8=80=85=E6=B3=A8=E5=86=8C=E7=9B=91=E5=90=AC=E5=99=A8=E5=88=B0?= =?UTF-8?q?=20ConfigProvider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/amqp-job/src/ConfigProvider.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amqp-job/src/ConfigProvider.php b/src/amqp-job/src/ConfigProvider.php index 5efea2658..f25794567 100644 --- a/src/amqp-job/src/ConfigProvider.php +++ b/src/amqp-job/src/ConfigProvider.php @@ -25,6 +25,9 @@ public function __invoke() Attempt::class => RedisAttempt::class, Packer::class => PhpSerializerPacker::class, ], + 'listeners' => [ + Listener\RegisterJobConsumer::class, + ], ]; } }