Unlink follow import process from the one processing request.
authoreal <eal@waifu.club>
Sat, 23 Dec 2017 14:40:43 +0000 (16:40 +0200)
committereal <eal@waifu.club>
Sat, 23 Dec 2017 14:40:43 +0000 (16:40 +0200)
Mistakes were made.

lib/pleroma/web/twitter_api/controllers/util_controller.ex

index 9079d2f9b27c039bf9c0444b65edaad7ac343f2b..9d56549952c3695315ab25cb267a8b5542006e94 100644 (file)
@@ -79,7 +79,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
     follow_import(conn, %{"list" => File.read!(listfile.path)})
   end
   def follow_import(%{assigns: %{user: user}} = conn, %{"list" => list}) do
-    Task.start_link(fn ->
+    Task.start(fn ->
     String.split(list)
     |> Enum.map(fn nick ->
         with %User{} = follower <- User.get_cached_by_ap_id(user.ap_id),