Update FederationController, dispatch inbox jobs now on high queue

This commit is contained in:
Daniel Supernault 2020-05-21 21:02:16 -06:00
parent 2ab58fb723
commit 29ce725c70
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -102,7 +102,7 @@ class FederationController extends Controller
$headers = $request->headers->all();
$payload = $request->getContent();
InboxValidator::dispatch($username, $headers, $payload);
InboxValidator::dispatchNow($username, $headers, $payload)->onQueue('high');
// $profile = Profile::whereNull('domain')->whereUsername($username)->firstOrFail();
// if($profile->status != null) {
// return ProfileController::accountCheck($profile);