aboutsummaryrefslogtreecommitdiff
path: root/check-racy.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2015-06-05 21:45:06 +0200
committerJunio C Hamano <gitster@pobox.com>2015-06-05 15:00:32 -0700
commita8a17756bbc9617ba22d0c78a73fce5bb2faa6f2 (patch)
treecc3df216bb692a07c64ea3c759a32bf9151f094e /check-racy.c
parent2024d3176536fd437b4c0a744161e96bc150a24e (diff)
downloadgit-a8a17756bbc9617ba22d0c78a73fce5bb2faa6f2.tar.gz
git-a8a17756bbc9617ba22d0c78a73fce5bb2faa6f2.tar.xz
lockfile: convert retry timeout computations to millisecond
When the goal is to wait for some random amount of time up to one second, it is not necessary to compute with microsecond precision. This is a preparation to re-use sleep_millisec(). Signed-off-by: Johannes Sixt <j6t@kdbg.org> Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'check-racy.c')
0 files changed, 0 insertions, 0 deletions