Skip to content

five-on-it / apps/server/src/rtc-host / RTC_WORKER_BACKOFF

Variable: RTC_WORKER_BACKOFF ​

const RTC_WORKER_BACKOFF: object

Defined in: apps/server/src/rtc-host.ts:43

The waits before a stopped worker is started again.

Type Declaration ​

firstMs ​

readonly firstMs: 1000 = 1000

After its first stop (ms); twice as long after each next one.

healthyAfterMs ​

readonly healthyAfterMs: 60000 = 60_000

A worker that ran this long was well: its count of stops starts over (ms).

longestMs ​

readonly longestMs: 30000 = 30_000

The longest wait (ms).