mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-02-04 07:53:11 +00:00
Merge pull request #37 from ZeroCatDev/copilot/fix-get-effective-server-url
Fix server rotation resource waste with unified sequential retry logic
This commit is contained in:
commit
f0a82312c5
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import {io} from 'socket.io-client';
|
import {io} from 'socket.io-client';
|
||||||
import {getSetting} from '@/utils/settings';
|
import {getSetting} from '@/utils/settings';
|
||||||
import {getEffectiveServerUrl, isRotationEnabled, tryWithRotation} from '@/utils/serverRotation';
|
import {getEffectiveServerUrl, isRotationEnabled} from '@/utils/serverRotation';
|
||||||
|
|
||||||
let socket = null;
|
let socket = null;
|
||||||
let connectedDomain = null;
|
let connectedDomain = null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user