Skip to content

five-on-it / apps/server/src/supervisor / SUPERVISOR

Variable: SUPERVISOR ​

const SUPERVISOR: object

Defined in: apps/server/src/supervisor.ts:16

The supervisor's waits.

Type Declaration ​

backoffMs ​

readonly backoffMs: readonly [1000, 30000]

The first wait before starting a stopped process again, and the longest (ms).

healthyAfterMs ​

readonly healthyAfterMs: 60000 = 60_000

A process that ran this long is well: its count of failures starts over (ms).