Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Warn against one cache-root shared over NFS
The advice was only in the v2.11.0 upgrade notes in CHANGE.txt.
Diffstat (limited to 'MANUAL.txt')
| -rw-r--r-- | MANUAL.txt | 8 |
1 file changed, 5 insertions, 3 deletions
@@ -75,9 +75,11 @@ cache-max-slot-size:: cache-root:: Path used to store the cgit cache entries. A scan-path keeps its cached - result under the value defined prior to it. Default value: - "/var/cache/cgit". See also: "Macro expansion" and the note on ownership - under "The cache". + result under the value defined prior to it. Hosts sharing one cache-root + over NFS mounted with local_lock=flock or local_lock=all do not see each + other's locks and can rebuild the same entry at once, so give each host + a cache-root of its own on local disk. Default value: "/var/cache/cgit". + See also: "Macro expansion" and the note on ownership under "The cache". cache-scan-ttl:: Number which specifies the time-to-live, in minutes, for the result of |
