]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2450: Added db_disable_query_cache to settings.example.php.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 8 Sep 2010 13:04:51 +0000 (13:04 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 8 Sep 2010 13:04:51 +0000 (13:04 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6918 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/settings.example.php

index b47d9ba74a1b06f288467af9fe2020a82f1ad55f..2d54804de866fe2a0f41096bd0bfb0d3afa9577a 100644 (file)
@@ -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