1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00

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