author | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 04:52:45 +0000 (21:52 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 04:53:30 +0000 (21:53 -0700) | ||
commit | 066bf4c2e43c7fb40405843e49f809431314865d | |
tree | b6d4c1f00603f9f9de0810b825b90a04d543a33a | tree | snapshot |
parent | 6afca450c3f2f05385900a7b8d3a0d47286f983f | commit | diff |
fetch-pack: use smaller handshake window for initial request
Start the initial request small by halving the INITIAL_FLUSH (we will try
to stay one window ahead of the server, so we would end up giving twice as
many "have" in flight at the very beginning). We may want to tweak these
values even more, taking MTU into account.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn Pearce <spearce@spearce.org>
Start the initial request small by halving the INITIAL_FLUSH (we will try
to stay one window ahead of the server, so we would end up giving twice as
many "have" in flight at the very beginning). We may want to tweak these
values even more, taking MTU into account.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn Pearce <spearce@spearce.org>
builtin/fetch-pack.c | diff | blob | history |