fix: honor Komodo health and prefer fresh telemetry across fleet status
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { StatusPlayer, GameObservation } from '../../server-observation.js';
|
||||
import { EventEmitter } from 'node:events';
|
||||
import type { GameTelemetry } from '../../telemetry.js';
|
||||
import type { RconEndpoint, RconFailure, RconPlayer } from '../integrations/rcon.js';
|
||||
import type { RconEndpoint, RconFailure } from '../integrations/rcon.js';
|
||||
import type { Health } from '../fleet/health.js';
|
||||
|
||||
// One in-process event bus, multiplexed by the SSE endpoints. Kept separate
|
||||
@@ -9,10 +10,15 @@ import type { Health } from '../fleet/health.js';
|
||||
|
||||
export interface ServerStatusEntry {
|
||||
server: string;
|
||||
containerState?: string | null;
|
||||
containerCheckedAt?: string | null;
|
||||
telemetryAfter?: string | null;
|
||||
rconStatus?: GameObservation;
|
||||
telemetry?: GameTelemetry;
|
||||
players: number | null;
|
||||
map: string | null;
|
||||
gametype: string | null;
|
||||
roster: RconPlayer[] | null;
|
||||
roster: StatusPlayer[] | null;
|
||||
health: Health;
|
||||
lastSeenAt: string | null;
|
||||
lastError: string | null;
|
||||
|
||||
Reference in New Issue
Block a user