git-cache-http-server icon indicating copy to clipboard operation
git-cache-http-server copied to clipboard

Use flock to guard against concurrent cache access

Open samliddicott opened this issue 1 year ago • 3 comments

Lock the local dir with flock -Fs for shared read locks and flock -Fx when updating

This prevents certain failure at concurrency >=5 and succedes past concurrency of 70

Change-Id: I5beda9168b13b0525dc108c2ca85f9d21e126780

samliddicott avatar Apr 19 '24 15:04 samliddicott