summaryrefslogtreecommitdiff
path: root/lib/default.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-22 14:18:43 -0500
committerEvan Prodromou <evan@status.net>2010-01-22 14:18:43 -0500
commitc8bc598cfd67353f33d7785556374b5d6865a7d9 (patch)
tree6be983b49cfc78a35baa361f77ad0b365a9a9bed /lib/default.php
parente666433eb4a66078e3459d7d4f51f5ce5a1ad589 (diff)
parent29d83c8ca94201cb010b5aef564df78ab868ea0c (diff)
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'lib/default.php')
-rw-r--r--lib/default.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/default.php b/lib/default.php
index ceae0efaa..d258bbaf4 100644
--- a/lib/default.php
+++ b/lib/default.php
@@ -67,7 +67,9 @@ $default =
'db_driver' => 'DB', # XXX: JanRain libs only work with DB
'quote_identifiers' => false,
'type' => 'mysql',
- 'schemacheck' => 'runtime'), // 'runtime' or 'script'
+ 'schemacheck' => 'runtime', // 'runtime' or 'script'
+ 'log_queries' => false, // true to log all DB queries
+ 'log_slow_queries' => 0), // if set, log queries taking over N seconds
'syslog' =>
array('appname' => 'statusnet', # for syslog
'priority' => 'debug', # XXX: currently ignored
@@ -81,6 +83,7 @@ $default =
'stomp_password' => null,
'monitor' => null, // URL to monitor ping endpoint (work in progress)
'softlimit' => '90%', // total size or % of memory_limit at which to restart queue threads gracefully
+ 'debug_memory' => false, // true to spit memory usage to log
),
'license' =>
array('type' => 'cc', # can be 'cc', 'allrightsreserved', 'private'