Files
computer-playbook/roles/svc-db-postgres/defaults
kevinveenbirkenbachandClaude Opus 5.5 463974e8be perf(svc-db-postgres): wait for TCP auth once per postgres container, not per consumer
Every database consumer resolved the postgres container and waited for TCP auth again, although the container was created once in 00_core with a handler flush and is not restarted later in the play. 01_init now includes the resolve-and-wait block (moved unchanged to 01_init/ready.yml) only when the service|container|port target differs from the last verified one; a container-manager-restart handler forgets the target so a Docker daemon restart forces the wait again. About 67 s per full production run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 19:46:49 +01:00
..