mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-03 04:38:48 +00:00
Bind the UI/API listener early so port conflicts fail fast, but srv.Serve only starts near the end of Run. Every synchronous initialization step in between therefore runs with a live listening socket whose accept queue fills while nothing accepts: the reported #2129 shape (bound port, non-zero Recv-Q, no HTTP response). A stall there is invisible because no log line is emitted while it runs. Track the last completed startup phase and arm an independent watchdog that fires if serving has not begun within two minutes, logging the last phase and every goroutine stack. This makes a recurrence diagnosable from the field log without an operator sending SIGQUIT. The watchdog is stopped when serving begins or Run exits and is safe to stop more than once. Change-source: pulse-maintainer |
||
|---|---|---|
| .. | ||
| agents | ||
| aicontracts | ||
| audit | ||
| auth | ||
| cloudauth | ||
| db | ||
| discovery | ||
| diskinventory | ||
| edition | ||
| extensions | ||
| fsfilters | ||
| licensing | ||
| metrics | ||
| pbs | ||
| pmg | ||
| proxmox | ||
| pulsecli | ||
| reporting | ||
| securityutil | ||
| server | ||
| tlsutil | ||