lockfile: convert retry timeout computations to millisecond
commita8a17756bbc9617ba22d0c78a73fce5bb2faa6f2
authorJohannes Sixt <j6t@kdbg.org>
Fri, 5 Jun 2015 19:45:06 +0000 (5 21:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jun 2015 22:00:32 +0000 (5 15:00 -0700)
treecc3df216bb692a07c64ea3c759a32bf9151f094e
parent2024d3176536fd437b4c0a744161e96bc150a24e
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>
lockfile.c