Skip to content

Fix Gun connection supervisor logic error

feld requested to merge gun-fix into develop

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.

Edited by feld

Merge request reports