Merge #822: Start-Codeman.sh gives each port probe about a second

A dropped 127.0.0.1 connect (seen on WSL) no longer stalls the first run on the kernel's connect timeout.
This commit is contained in:
Codeman maintainer committed 2026-11-20 03:59:10 +01:00
commit 99a69a87cf
3 files changed
+96 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
'aicodeman': patch
---
`docker/Start-Codeman.sh` no longer hangs on WSL while it looks for a free port. On WSL a connect to a closed 127.0.0.1 port is dropped rather than refused and only fails at the kernel's connect timeout, so the first-run port search (up to 100 ports) and the check before `docker compose up` could stall for many minutes. Each port check now gives up after about a second and reads no answer as free.