Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Set git-daemon keep-alive
Alexis Sellier committed 3 years ago
commit ac3a03fea6cae9d115a117da3aa9ebe1b12af26b
parent 273ce2744abbf56fc5e2e10a28547c9d8578432e
1 file changed +3 -0
modified 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")