Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] gitweb: Support caching projects list

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help