From 57f7cf834921d49f28f346571e0e6fb596ccd6f8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 26 Jan 2017 03:56:26 +0100 Subject: [PATCH] Follow request authorizations faster --- app/models/follow_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index 8eef3abf446..936ad0691b9 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.rb @@ -13,7 +13,7 @@ class FollowRequest < ApplicationRecord def authorize! account.follow!(target_account) - FeedManager.instance.merge_into_timeline(target_account, account) + MergeWorker.perform_async(target_account.id, account.id) destroy! end