From 29ce725c70cba679d621387fb1a278bd01967b9c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 21 May 2020 21:02:16 -0600 Subject: [PATCH] Update FederationController, dispatch inbox jobs now on high queue --- app/Http/Controllers/FederationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/FederationController.php b/app/Http/Controllers/FederationController.php index 43f363f1b..5c0111d83 100644 --- a/app/Http/Controllers/FederationController.php +++ b/app/Http/Controllers/FederationController.php @@ -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);