Files
mirror-3x-ui/internal
Sanaei c1cf280055 fix(wireguard): apply a device change at once
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).
2026-11-24 23:52:09 +03:30
..
2026-10-25 20:08:14 +01:00