From b39ff5f0d9f25567654159be67284c3fef971be7 Mon Sep 17 00:00:00 2001 From: beckline Date: Mon, 16 Feb 2026 00:03:46 +0300 Subject: [PATCH] fix(ui): app run refresh uses effective cgroup --- selective-vpn-gui/traffic_mode_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selective-vpn-gui/traffic_mode_dialog.py b/selective-vpn-gui/traffic_mode_dialog.py index dd00553..45b06b6 100644 --- a/selective-vpn-gui/traffic_mode_dialog.py +++ b/selective-vpn-gui/traffic_mode_dialog.py @@ -1994,7 +1994,7 @@ RU: Применяет policy-rules и проверяет health. При оши if last_unit and last_target == target and last_key and last_key == app_key: code, out = self._systemctl_user(["is-active", last_unit]) if code == 0 and (out or "").strip().lower() == "active": - cg = self._query_control_group_for_unit(last_unit) + cg = self._effective_cgroup_for_unit_retry(last_unit, timeout_sec=3.0) self._append_app_log( f"[app] already running: app={app_key} target={target} unit={last_unit} (refreshing mark)" )