浏览代码

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;
         }