aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-08 13:04:51 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-08 13:04:51 +0000
commiteed2084789c3a58eff361893f540f9bd85a9cc76 (patch)
tree3481d70d1a6c8054566f04b2423be179d504ff1b /engine
parent4c4892f8c9d1742df877f40b18700e6755340e16 (diff)
downloadelgg-eed2084789c3a58eff361893f540f9bd85a9cc76.tar.gz
elgg-eed2084789c3a58eff361893f540f9bd85a9cc76.tar.bz2
Refs #2450: Added db_disable_query_cache to settings.example.php.
git-svn-id: http://code.elgg.org/elgg/trunk@6918 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/settings.example.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/settings.example.php b/engine/settings.example.php
index b47d9ba74..2d54804de 100644
--- a/engine/settings.example.php
+++ b/engine/settings.example.php
@@ -124,6 +124,9 @@ $CONFIG->db['write']->dbhost = "localhost";
* at 0, the next one must be at 1, etc.
*/
+/*
+ * Optional configuration
+ */
/**
* Memcache setup (optional)
@@ -152,3 +155,14 @@ $CONFIG->db['write']->dbhost = "localhost";
* @global bool $CONFIG->broken_mta
*/
$CONFIG->broken_mta = FALSE;
+
+/**
+ * Disable the database query cache
+ *
+ * Elgg stores each query and its results in a query cache.
+ * On large sites or long-running scripts, this cache can grow to be
+ * large. To disable query caching, set this to FALSE.
+ *
+ * @global bool $CONFIG->db_disable_query_cache
+ */
+$CONFIG->db_disable_query_cache = FALSE; \ No newline at end of file