fix: add TRANSMISSION defaults and curl timeout to production deploy
- Add :-admin defaults for TRANSMISSION_USER/PASS in docker-compose.yml to prevent crash on startup when vars are unset - Add --max-time 10 to registry mirror health check curl to prevent 2+ minute hang when mirror is unreachable Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -190,7 +190,7 @@ jobs:
|
||||
mirror_host="100.78.131.124:5501"
|
||||
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
if curl -fsS "http://${mirror_host}/v2/" >/dev/null; then
|
||||
if curl -fsS --max-time 10 "http://${mirror_host}/v2/" >/dev/null; then
|
||||
echo "Registry mirror is healthy at ${mirror_host}"
|
||||
else
|
||||
echo "Warning: registry mirror health check failed at ${mirror_host}; continuing with normal pull path"
|
||||
|
||||
Reference in New Issue
Block a user