diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-22 13:45:55 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-05-23 12:20:31 +0200 |
commit | 151c48494e0e1c6b8bed2551c50196a67284db0c (patch) | |
tree | 4b9bc35742a3cd5b22c76c120a55dcf2b3babaac /config | |
parent | ff1f341d9776401f4e68a5de12b546ca26f229d1 (diff) | |
download | nextcloud-server-151c48494e0e1c6b8bed2551c50196a67284db0c.tar.gz nextcloud-server-151c48494e0e1c6b8bed2551c50196a67284db0c.zip |
Add a config option fro setting the filesystem watcher policy
Diffstat (limited to 'config')
-rwxr-xr-x | config/config.sample.php | 11 |
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 + ); |