mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-25 12:04:44 +03:00
c1cf280055
A device write only flagged the next reconcile, which runs every 30 s. Until then a disabled or deleted device kept its tunnel, and a new one could not connect: 12-24 s measured on a running panel, under 1 s now. The handler applies the change through the same non-forced path the reconcile uses, and falls back to the flag when that fails. No unit test reaches it: the controller tests run without a core. The Docker timeline shows it (toggle a device, read `wg show` on the client and the peer list of the core).