Update Mihomo WebSocket handling to clarify native connection usage
- Modified the Svelte component to include a comment explaining the use of native WebSocket connections for real-time traffic and memory metrics, emphasizing the importance of direct connections for immediate issue detection during upgrades.
This commit is contained in:
@@ -368,7 +368,7 @@
|
||||
}
|
||||
|
||||
function runTrafficMemoryRealtime(a: string, signal: AbortSignal) {
|
||||
runTrafficMemoryPollers(a, signal);
|
||||
// Только нативный WS: без HTTP-обхода, чтобы сразу видеть проблемы апгрейда.
|
||||
void trafficWsLoop(a, signal);
|
||||
void memoryWsLoop(a, signal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user