콘텐츠로 이동
한국어

DEFAULT_STARTUP_PHASE_TIMEOUT_MS

이 콘텐츠는 아직 번역되지 않았습니다.

const DEFAULT_STARTUP_PHASE_TIMEOUT_MS: 30000 = 30_000

Defined in: src/CoordinatedStartupOptions.ts:20

The budget each startup phase starts with: 30 seconds, published as actor-ts.coordinated-startup.default-phase-timeout.

It is what bounds a task that has no deadline of its own. Opening a connection waits as long as the driver lets it, several drivers leave that unset, and a host that drops packets rather than refusing them never answers at all — so without a phase budget a mistyped address would hold whenReady() pending and the readiness check false for as long as the process lives, with nothing in the log. Thirty seconds outlasts a cold connection pool on a slow network and still fails a deployment that will never come up while somebody is watching it roll out.