Browse Source

Update InboxValidator job

Daniel Supernault 6 years ago
parent
commit
0e7f2bd0be
1 changed files with 2 additions and 2 deletions
  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) {
         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) {
         } else if($this->blindKeyRotation($headers, $profile, $payload) == true) {
-            InboxWorker::dispatch($headers, $profile, $payload);
+            InboxWorker::dispatchNow($headers, $profile, $payload)->onQueue('high');
         } else {
         } else {
             return;
             return;
         }
         }