Skip to content

five-on-it / apps/api/src/lobbies / LOBBY_TIMING

Variable: LOBBY_TIMING ​

const LOBBY_TIMING: object

Defined in: apps/api/src/lobbies.ts:122

A lobby's clocks (ms).

Type Declaration ​

aiAfterMs ​

readonly aiAfterMs: 20000 = 20_000

How long a lobby gathers under its minimum before its host may start it with AI players.

awayMs ​

readonly awayMs: 60000 = PRESENCE_MS

A member neither the lobby nor the feed's presence heard from for this long is gone.

busyForMs ​

readonly busyForMs: 120000 = 120_000

How long it keeps asking before it gives up and gathers again.

busyRetryMs ​

readonly busyRetryMs: 5000 = 5_000

How long the countdown waits before asking for a game server again, the city busy.

coalesceMs ​

readonly coalesceMs: 250 = 250

How long a lobby's changes are gathered into one push to its members.

countdownMs ​

readonly countdownMs: 10000 = 10_000

The countdown before the members go to the run's room (its room opened at its start).

openTimeoutMs ​

readonly openTimeoutMs: 60000 = 60_000

How long opening a run may take before it counts as the city busy (a run opened later is abandoned).

voteMs ​

readonly voteMs: 20000 = 20_000

The vote on the next mission.