Skip to content

fix(lib/daemon): correctly wait for slow-starting daemon port

Lars Wirzenius requested to merge daemon into main

Previously, if the daemon took a bit to open its port, the daemon_wait_for_port function would fail on the first connection-refused error. Now it ignores that failure until timeout elapses.

Alas, could not think of a simple way to test for this.

Merge request reports

Loading