Automatically use SSH control master support during sync
By creating a background ssh "control master" process which lives for the duration of our sync cycle we can easily cut the time for a no-op sync of 132 projects from 60s to 18s. Bug: REPO-11 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
8bd5e60b16
commit
fb2316146f
5 changed files with 122 additions and 3 deletions
2
git_ssh
Executable file
2
git_ssh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec ssh -o "ControlPath $REPO_SSH_SOCK" "$@"
|
Loading…
Add table
Add a link
Reference in a new issue