logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: d272eb62cd4da45e5ef82fcc0126d2cf799d292a
parent 6708f154a4f7ad46b4637d4d566b8cf81e3ebb7b
Author: Mark Felder <feld@feld.me>
Date:   Mon, 27 May 2024 11:22:45 -0400

Trust the connection pools to enforce the concurrency limitations

Diffstat:

Mlib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex b/lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex @@ -30,9 +30,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy do if Pleroma.Config.get(:env) == :test do fetch(prefetch_url) else - ConcurrentLimiter.limit(__MODULE__, fn -> - Task.start(fn -> fetch(prefetch_url) end) - end) + Task.start(fn -> fetch(prefetch_url) end) end end end