Request limiter setup: consider {:error, :existing} a success
authorrinpatch <rinpatch@sdf.org>
Tue, 30 Jun 2020 15:35:15 +0000 (18:35 +0300)
committerrinpatch <rinpatch@sdf.org>
Wed, 15 Jul 2020 12:26:35 +0000 (15:26 +0300)
commit9b73c35ca8b051316815461247b802bc8567854f
tree6a860a9d9bc9abc8ed475e916f7872264e14965b
parent12fa5541f01ca5cfe082a62dac3317da78043e8f
Request limiter setup: consider {:error, :existing} a success

When the application restarts (which happens after certain config
changes), the limiters are not destroyed, so `ConcurrentLimiter.new`
will produce {:error, :existing}
lib/pleroma/http/adapter_helper/gun.ex