Update FederationController, dispatch inbox jobs now on high queue

pull/2199/head
Daniel Supernault 5 years ago
parent 2ab58fb723
commit 29ce725c70
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save