mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
0eca3e38eb
This was recently changed to solve a Dialyzer error, but the replacement logic was faulty as "retry" would only be compared to :error and not have its truthiness evaluated. The original logic was also faulty as it returned {:error, :pool_full} even retry was true. It never retried when the pool was full.
1 line
118 B
Text
1 line
118 B
Text
Fix logic error in Gun connection pooling which prevented retries even when the worker was launched with retry = true
|