ui/client/features/dev-server/domain/DevServerPolling
While the server is coming up the card is watched closely; otherwise it is only kept honest (a branch switch, a crash).
Cockpit client (features), v0.9. Source: ui/client/features/dev-server/domain/DevServerPolling.ts.
Variables#
POLL_MS#
constPOLL_MS:2000=2000
Defined in: ui/client/features/dev-server/domain/DevServerPolling.ts:3
POLL_STARTING_MS#
constPOLL_STARTING_MS:600=600
Defined in: ui/client/features/dev-server/domain/DevServerPolling.ts:2
While the server is coming up the card is watched closely; otherwise it is only kept honest (a branch switch, a crash).
Functions#
pollIntervalMs()#
pollIntervalMs(
state):number
Defined in: ui/client/features/dev-server/domain/DevServerPolling.ts:6
How long to wait between status reads, given the state the card is showing (undefined before the first read).
Parameters#
state
string | undefined
Returns#
number