diff --git a/radicle-node/src/runtime.rs b/radicle-node/src/runtime.rs index b2ab8608..e27a93ad 100644 --- a/radicle-node/src/runtime.rs +++ b/radicle-node/src/runtime.rs @@ -302,6 +302,9 @@ pub mod daemon { .envs(radicle::git::env::GIT_DEFAULT_CONFIG) .env("GIT_PROTOCOL", "version=2") .current_dir(storage) + // Send a keep-alive packet every 3 seconds to make sure the client doesn't + // timeout during pack building. + .args(["-c", "uploadpack.keepAlive=3"]) .arg("daemon") // Make all git directories available. .arg("--export-all")