Update InboxValidator job

This commit is contained in:
Daniel Supernault 2019-06-09 19:16:37 -06:00
parent 21f211d354
commit 0e7f2bd0be
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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