From dcc4e7d9f64603574c16fe5155e36256bce5f82d Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 25 Oct 2017 17:27:31 +0200 Subject: [PATCH] add config parameter sample Signed-off-by: Arthur Schiwon --- config/config.sample.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index ed2ecbb87b..99d67e738c 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1232,6 +1232,24 @@ $CONFIG = array( */ 'sharing.minSearchStringLength' => 0, +/** + * Collaboration + * + * Global settings for collaboration + */ + +/** + * Defines the maximum number of auto complete results. The default is 50. This + * is used by the auto complete backend, which for example is consumed by + * auto completion feature in comments. + * + * It may look similar to sharing.maxAutocompleteResults, but there are some key + * differences in utilization. Thus, an unlimited default is very bad. Also, + * does not control the number of displayed results, but results fetched from + * each user backend. A small number is crucial for performance and a positive + * user experience. + */ +'collaboration.maxAutocompleteResults' => 50, /** * All other configuration options