mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-21 23:01:26 +02:00
fix: 60 s sidecar limit
This commit is contained in:
1 parent
66389e5995
commit
5628071c51
1 file changed
+3
-2
@@ -197,8 +197,9 @@ fn parse_sidecar_version(stdout: &[u8]) -> Option<String> {
|
||||
.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!({
|
||||
|
||||
Reference in new issue
Block a user