1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

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(); $headers = $request->headers->all();
$payload = $request->getContent(); $payload = $request->getContent();
InboxValidator::dispatch($username, $headers, $payload); InboxValidator::dispatchNow($username, $headers, $payload)->onQueue('high');
// $profile = Profile::whereNull('domain')->whereUsername($username)->firstOrFail(); // $profile = Profile::whereNull('domain')->whereUsername($username)->firstOrFail();
// if($profile->status != null) { // if($profile->status != null) {
// return ProfileController::accountCheck($profile); // return ProfileController::accountCheck($profile);