link watcher switch to event based instead of polling
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 1s
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-03-09 15:49:13 +01:00
parent c57d6ecc67
commit 665c0b4475
5 changed files with 118 additions and 54 deletions

View File

@@ -52,7 +52,7 @@ export interface BridgeRemoveRequest {
}
export interface BridgeLinkStateEnableRequest {
poll_interval_seconds: number;
recovery_holdoff_seconds: number;
}
export interface BridgeMemberLinkStateInfo {
@@ -67,11 +67,12 @@ export interface BridgeMemberLinkStateInfo {
export interface BridgeLinkStateWatcherStatus {
bridge: string;
active: boolean;
poll_interval_seconds?: number | null;
last_poll_ts?: number | null;
event_driven?: boolean | null;
last_event_ts?: number | null;
last_error?: string | null;
last_action?: string | null;
suppressed_members: string[];
recovery_holdoff_seconds?: number | null;
members: Record<string, BridgeMemberLinkStateInfo>;
message?: string | null;
}