Files
pdfcraft/crates
oracola91 deca1e03d1 Control channel: wait after a failed accept instead of retrying at once
The control channel's accepting thread dropped failed accepts with
incoming().flatten() and asked again at once. When accepting keeps
failing, for example while the process has no file descriptors left,
that loop keeps a core busy until it recovers.

Wait 100 ms after a failed accept, as the single-instance listener
already does. The loop goes through a small helper so the wait can be
tested without running out of file descriptors.
2026-10-20 13:26:03 +03:00
..