From: Junio C Hamano <hidden> Date: 2016-06-15 22:44:23
Petr Baudis [off-list ref] writes:
To prevent contention when multiple accesses coincide with cache
expiration, the timeout is postponed to time()+120 when we start
refreshing. When showing cached version, a disclaimer is shown at the
top of the projects list.
Isn't this still racy when two requests come at about the same time?
Perhaps you can avoid it by using a lockfile?