fix(platform): avoid fake kafka lag

This commit is contained in:
lingniu
2026-07-03 22:38:50 +08:00
parent 4ff94a4e92
commit 91c2168cb0
6 changed files with 17 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ export interface DashboardSummary {
activeToday: number;
frameToday: number;
issueVehicles: number;
kafkaLag: number;
kafkaLag: number | null;
protocols: ProtocolStat[];
linkHealth: LinkHealth[];
}
@@ -124,7 +124,7 @@ export interface QualityIssueRow {
export interface OpsHealth {
linkHealth: LinkHealth[];
kafkaLag: number;
kafkaLag: number | null;
redisOnlineKeys: number;
tdengineWritable: boolean;
mysqlWritable: boolean;