Преглед на файлове

Update InboxValidator job

Daniel Supernault преди 6 години
родител
ревизия
0e7f2bd0be
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      app/Jobs/InboxPipeline/InboxValidator.php

+ 2 - 2
app/Jobs/InboxPipeline/InboxValidator.php

@@ -57,9 +57,9 @@ class InboxValidator implements ShouldQueue
         }
 
         if($this->verifySignature($headers, $profile, $payload) == true) {
-            InboxWorker::dispatch($headers, $profile, $payload);
+            InboxWorker::dispatchNow($headers, $profile, $payload)->onQueue('high');
         } else if($this->blindKeyRotation($headers, $profile, $payload) == true) {
-            InboxWorker::dispatch($headers, $profile, $payload);
+            InboxWorker::dispatchNow($headers, $profile, $payload)->onQueue('high');
         } else {
             return;
         }