mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-19 10:22:07 +08:00
perf(connections): adopt Mihomo 0.7 and skip unchanged count updates (#8643)
This commit is contained in:
@@ -363,6 +363,8 @@ const handleSummaryText = (messageData: string) => {
|
||||
return
|
||||
}
|
||||
|
||||
if (connectionSummary.activeConnectionCount === (payload.count ?? 0)) return
|
||||
|
||||
connectionSummary = mergeConnectionSummary(payload)
|
||||
notifySummaryListeners()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user