chore: remove unused start_proxy_with_takeover command

- Remove command registration from lib.rs
- Add comment clarifying failover queue is preserved on proxy stop
This commit is contained in:
YoVinchen
2025-12-22 00:38:10 +08:00
parent deea8455a9
commit c9b851c5e6
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -658,7 +658,6 @@ pub fn run() {
commands::get_auto_launch_status,
// Proxy server management
commands::start_proxy_server,
commands::start_proxy_with_takeover,
commands::stop_proxy_with_restore,
commands::get_proxy_takeover_status,
commands::set_proxy_takeover_for_app,
+1
View File
@@ -538,6 +538,7 @@ impl ProxyService {
.await
.map_err(|e| format!("重置健康状态失败: {e}"))?;
// 注意:不清除故障转移队列和开关状态,保留供下次开启代理时使用
log::info!("代理已停止,Live 配置已恢复");
Ok(())
}