mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-11 21:12:09 +08:00
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.
This commit is contained in:
@@ -23,8 +23,8 @@ export const SWR_SLOW_POLL = {
|
||||
|
||||
export const SWR_MIHOMO = {
|
||||
...SWR_NOT_SMART,
|
||||
errorRetryInterval: 500,
|
||||
errorRetryCount: 15,
|
||||
errorRetryInterval: 2000,
|
||||
errorRetryCount: 3,
|
||||
}
|
||||
|
||||
export const SWR_EXTERNAL_API = {
|
||||
|
||||
Reference in New Issue
Block a user