From eed2084789c3a58eff361893f540f9bd85a9cc76 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 8 Sep 2010 13:04:51 +0000 Subject: 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 --- engine/settings.example.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'engine/settings.example.php') 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 -- cgit v1.2.3