Update InboxValidator job

pull/1378/head
Daniel Supernault 6 years ago
parent 21f211d354
commit 0e7f2bd0be
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save