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.
2 lines
118 B
Plaintext
2 lines
118 B
Plaintext
Fix logic error in Gun connection pooling which prevented retries even when the worker was launched with retry = true
|