소스 검색

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