summaryrefslogtreecommitdiff
path: root/mergetools
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2016-07-18 15:21:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-19 13:27:22 -0700
commitda470981defcace6e909b74ebc4ab5a40a702728 (patch)
tree28f8a5293beab8ee1be0f6783063fa4234bca175 /mergetools
parentMerge branch 'jk/upload-pack-hook' (diff)
downloadtgif-da470981defcace6e909b74ebc4ab5a40a702728.tar.xz
fetch-pack: grow stateless RPC windows exponentially
When updating large repositories, the LARGE_FLUSH limit (that is, the limit at which the window growth strategy switches from exponential to linear) is reached quite quickly. Use a conservative exponential growth strategy when that limit is reached instead (and increase LARGE_FLUSH so that there is no regression in window size). This optimization is only applied during stateless RPCs to avoid the issue raised and fixed in commit 44d8dc54 (Fix potential local deadlock during fetch-pack, 2011-03-29). Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergetools')
0 files changed, 0 insertions, 0 deletions