Tunglies
33e3b9f0f9
refactor(hooks): drop the write-only error channel and key-rotating refresh
...
The mihomo ws subscription's next callback accepted an error half that
baseNext silently discarded while traffic, memory and log consumers
kept constructing fallback payloads for it. Refresh minted a fresh
SWR key per call via a localStorage timestamp, abandoning old keys in
the cache forever. Reduce next to its data half and reset the snapshot
under a stable key instead.
2026-11-02 21:48:54 +08:00
Tunglies
1d7462a021
fix: stop idle mihomo websocket subscriptions
2026-07-06 08:33:23 +08:00
Tunglies
d9ae7578ce
perf: reduce traffic update allocations
2026-04-25 00:17:47 +08:00
Tunglies
824bcc77eb
fix: throttle WebSocket subscriptions to prevent UI freeze on profile switch ( #6683 ) ( #6686 )
...
Add leading-edge throttle to useMihomoWsSubscription, reduce SWR retry
aggressiveness, and increase WebSocket reconnect delay to prevent event
storms when switching profiles under poor network conditions.
2026-04-02 13:22:30 +00:00
Slinetrac
c672a6fef3
refactor: lint ( #6511 )
...
* refactor: lint
* chore: remove eslint-plugin/config-prettier
2026-03-15 07:40:11 +00:00
Sline
afee21dae4
refactor: unify Mihomo WS subscription with shared hook ( #5719 )
...
* refactor: unify Mihomo WS subscription with shared hook
* refactor: relocate clash log hook and streamline services
* docs: Changelog.md
2025-12-04 14:58:03 +08:00
xmk23333
b77cc012e1
refactor: streamline app initialization and enhance WebSocket cleanup logic
2025-10-20 13:15:51 +08:00
oomeow
7fc238c27b
refactor: invock mihomo api by use tauri-plugin-mihomo ( #4926 )
...
* feat: add tauri-plugin-mihomo
* refactor: invock mihomo api by use tauri-plugin-mihomo
* chore: todo
* chore: update
* chore: update
* chore: update
* chore: update
* fix: incorrect delay status and update pretty config
* chore: update
* chore: remove cache
* chore: update
* chore: update
* fix: app freezed when change group proxy
* chore: update
* chore: update
* chore: add rustfmt.toml to tauri-plugin-mihomo
* chore: happy clippy
* refactor: connect mihomo websocket
* chore: update
* chore: update
* fix: parse bigint to number
* chore: update
* Revert "fix: parse bigint to number"
This reverts commit 74c006522e .
* chore: use number instead of bigint
* chore: cleanup
* fix: rule data not refresh when switch profile
* chore: update
* chore: cleanup
* chore: update
* fix: traffic graph data display
* feat: add ipc connection pool
* chore: update
* chore: clippy
* fix: incorrect delay status
* fix: typo
* fix: empty proxies tray menu
* chore: clippy
* chore: import tauri-plugin-mihomo by using git repo
* chore: cleanup
* fix: mihomo api
* fix: incorrect delay status
* chore: update tauri-plugin-mihomo dep
chore: update
2025-10-08 12:32:40 +08:00