summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-05-22 13:45:55 +0200
committerRobin Appelman <icewind@owncloud.com>2014-05-23 12:20:31 +0200
commit151c48494e0e1c6b8bed2551c50196a67284db0c (patch)
tree4b9bc35742a3cd5b22c76c120a55dcf2b3babaac /config
parentff1f341d9776401f4e68a5de12b546ca26f229d1 (diff)
downloadnextcloud-server-151c48494e0e1c6b8bed2551c50196a67284db0c.tar.gz
nextcloud-server-151c48494e0e1c6b8bed2551c50196a67284db0c.zip
Add a config option fro setting the filesystem watcher policy
Diffstat (limited to 'config')
-rwxr-xr-xconfig/config.sample.php11
1 files changed, 10 insertions, 1 deletions
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
+
);