Trust the connection pools to enforce the concurrency limitations

This commit is contained in:
Mark Felder 2024-05-27 11:22:45 -04:00
parent 6708f154a4
commit d272eb62cd
1 changed files with 1 additions and 3 deletions

View File

@ -30,9 +30,7 @@ defp prefetch(url) do
if Pleroma.Config.get(:env) == :test do
fetch(prefetch_url)
else
ConcurrentLimiter.limit(__MODULE__, fn ->
Task.start(fn -> fetch(prefetch_url) end)
end)
end
end
end