summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-12-22 15:00:05 -0500
committerenahum <nahumhbl@gmail.com>2016-12-22 17:00:05 -0300
commita793eb865151b27f10fd8ff743e229535cc63865 (patch)
tree01137bd5c7e0b030cd5b80e8c31071b554a5d855 /config
parent768fe6bec344cf4154a39767000c04ce1a5b5a71 (diff)
downloadchat-a793eb865151b27f10fd8ff743e229535cc63865.tar.gz
chat-a793eb865151b27f10fd8ff743e229535cc63865.tar.bz2
chat-a793eb865151b27f10fd8ff743e229535cc63865.zip
Skip intensive stat DB queries when more than a set number of users on the system (#4876)
Diffstat (limited to 'config')
-rw-r--r--config/config.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.json b/config/config.json
index 649081597..c979c778b 100644
--- a/config/config.json
+++ b/config/config.json
@@ -241,6 +241,9 @@
"BlockProfileRate": 0,
"ListenAddress": ":8067"
},
+ "AnalyticsSettings": {
+ "MaxUsersForStatistics": 2500
+ },
"WebrtcSettings": {
"Enable": false,
"GatewayWebsocketUrl": "",