From 782acad560233ff343653b79c2b29ab8da69a3b1 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 27 Sep 2023 11:19:36 +1000 Subject: [PATCH] When processing packets on the command line, send it to the queue --- app/Console/Commands/PacketProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/PacketProcess.php b/app/Console/Commands/PacketProcess.php index 77ad218..f33fcf3 100644 --- a/app/Console/Commands/PacketProcess.php +++ b/app/Console/Commands/PacketProcess.php @@ -47,7 +47,7 @@ class PacketProcess extends Command $this->info(sprintf('Processing message from [%s] with msgid [%s] in (%s)',$msg->fboss,$msg->msgid,$f->pktName())); // Dispatch job. - Job::dispatchSync($msg,$f->pktName(),$a,$pkt->fftn_o,Carbon::now(),$this->option('nobot')); + Job::dispatch($msg,$f->pktName(),$a,$pkt->fftn_o,Carbon::now(),$this->option('nobot')); } } }