From a5784de9a8b624d1879e1f4fa5a1c72f7e6763fc Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 15 Aug 2023 12:25:38 +1000 Subject: [PATCH] Put TIC processing on it's own queue --- app/Jobs/TicProcess.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Jobs/TicProcess.php b/app/Jobs/TicProcess.php index 1ba3cfd..579102f 100644 --- a/app/Jobs/TicProcess.php +++ b/app/Jobs/TicProcess.php @@ -22,6 +22,8 @@ class TicProcess implements ShouldQueue private ?Domain $do; + public const QUEUE = 'tic'; + /** * Create a new job instance. * @@ -31,6 +33,8 @@ class TicProcess implements ShouldQueue public function __construct(private string $file,private ?string $domain=NULL) { $this->do = $domain ? Domain::where('name',$domain)->singleOrFail() : NULL; + + $this->onQueue(self::QUEUE); } /**