mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-28 04:00:57 +00:00
xray-core's Random/RoundRobinStrategy calls RequireFeatures(Observatory) whenever a fallbackTag is set, so a balancer that declares a fallback but has no observatory aborts startup with 'core: not all dependencies are resolved'. syncObservatories never created an observer for these strategies, crashing the core on any load balancer that used a fallback (the default 'random' strategy with a fallbackTag, exactly issue #5605). Treat random/roundRobin balancers that set a fallbackTag as requiring the burst observer. Also make the burst observer strictly requirement-driven (mirroring the leastPing/observatory path) so clearing the last fallbackTag drops it again instead of leaving a dead observer that forces needless restarts and probing. Closes #5605 |
||
|---|---|---|
| .. | ||
| api | ||
| components | ||
| entries | ||
| generated | ||
| hooks | ||
| i18n | ||
| layouts | ||
| lib | ||
| models | ||
| pages | ||
| schemas | ||
| styles | ||
| test | ||
| utils | ||
| env.d.ts | ||
| main.tsx | ||
| queryClient.ts | ||
| routes.tsx | ||