From 5628071c51a91573850603c424c5be6149ccc26d Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Wed, 21 Oct 2026 00:02:46 +0400 Subject: [PATCH] fix: 60 s sidecar limit --- src-tauri/src/proxy_runner.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/proxy_runner.rs b/src-tauri/src/proxy_runner.rs index 71d08626..e9ff8d85 100644 --- a/src-tauri/src/proxy_runner.rs +++ b/src-tauri/src/proxy_runner.rs @@ -197,8 +197,9 @@ fn parse_sidecar_version(stdout: &[u8]) -> Option { .map(str::to_string) } -/// The longest Donut waits for one run of its donut-proxy helper. -pub(crate) const SIDECAR_RESPONSE_LIMIT: std::time::Duration = std::time::Duration::from_secs(20); +/// The longest Donut waits for one run of its donut-proxy helper. The OS scans +/// a new helper on its first run; on a busy Mac that took more than 20 s. +pub(crate) const SIDECAR_RESPONSE_LIMIT: std::time::Duration = std::time::Duration::from_secs(60); pub(crate) fn sidecar_not_responding_error() -> String { serde_json::json!({