drain old web slot before blue-green shutdown

This commit is contained in:
2026-09-21 09:26:50 +08:00
parent 3b4e288564
commit 8f2f485402
3 changed files with 10 additions and 1 deletions
@@ -114,6 +114,7 @@ async function runBlueGreen(health) {
PATH: `${bin}${delimiter}${process.env.PATH ?? ''}`,
BLUE_GREEN_STATE_ROOT: stateRoot,
BLUE_GREEN_STABILIZATION_SECONDS: '0',
BLUE_GREEN_DRAIN_SECONDS: '0',
DEPLOY_HEALTH_TIMEOUT_SECONDS: '2',
DEPLOY_HEALTH_POLL_SECONDS: '1',
MOCK_LOG: log,