From 151c48494e0e1c6b8bed2551c50196a67284db0c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 22 May 2014 13:45:55 +0200 Subject: Add a config option fro setting the filesystem watcher policy --- config/config.sample.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.sample.php b/config/config.sample.php index 708e8367023..80694837edc 100755 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -283,5 +283,14 @@ $CONFIG = array( * cache directory and "$user" is the user. * */ -'cache_path' => '' +'cache_path' => '', + +/* + * specifies how often the filesystem is checked for changes made outside owncloud + * 0 -> never check the filesystem for outside changes, provides a performance increase when it's certain that no changes are made directly to the filesystem + * 1 -> check each file or folder at most once per request, recomended for general use if outside changes might happen + * 2 -> check every time the filesystem is used, causes a performance hit when using external storages, not recomended for regular use + */ +'filesystem_check_changes' => 1 + ); -- cgit v1.2.3