MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / should_proxy_serve_to_daemon

Function should_proxy_serve_to_daemon

src/daemon.rs:897–906  ·  view source on GitHub ↗
(socket_path: &Path)

Source from the content-addressed store, hash-verified

895/// the same grace used for per-request connects before falling back.
896#[cfg(unix)]
897pub async fn should_proxy_serve_to_daemon(socket_path: &Path) -> bool {
898 let installed_socket = installed_service_socket_path().ok().flatten();
899 should_proxy_serve_to_daemon_with(
900 socket_path,
901 installed_socket.as_deref(),
902 DAEMON_RESTART_GRACE,
903 DAEMON_RESTART_POLL_INTERVAL,
904 )
905 .await
906}
907
908#[cfg(unix)]
909async fn should_proxy_serve_to_daemon_with(

Callers 1

serve_resolved_projectFunction · 0.85

Calls 3

existsMethod · 0.80

Tested by

no test coverage detected