Permit ProjectCacheClock to be completely disabled
Some admins may just want to require all updates to projects to be made through the web interface, and avoid the small expense of a background thread ticking off changes. This is not too different from disabling plugins with plugins.checkFrequency = 0. Unfortunately we cannot use 0 to disable the checker as it means always check. Instead define new magic string values of "off" and "disabled" to represent no clock. Change-Id: Iccafea1b01c597322802da2441904965e0ada3d2
This commit is contained in:
@@ -684,6 +684,7 @@ access. Values can be specified using standard time unit abbreviations
|
||||
('ms', 'sec', 'min', etc.).
|
||||
+
|
||||
If set to 0, checks occur every time, which may slow down operations.
|
||||
If set to 'disabled' or 'off', no check will ever be done.
|
||||
Administrators may force the cache to flush with
|
||||
link:cmd-flush-caches.html[gerrit flush-caches].
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user