Browse Source

Update comments for persistent database connections and increase timeout

pull/40/head
Michael Foster 11 years ago
parent
commit
f1b1d41230
  1. 6
      inc/config.php

6
inc/config.php

@ -88,12 +88,12 @@
$config['db']['database'] = '';
// Table prefix (optional)
$config['db']['prefix'] = '';
// Use a persistent connection (experimental; benefits unknown)
// Use a persistent database connection when possible
$config['db']['persistent'] = false;
// Anything more to add to the DSN string (eg. port=xxx;foo=bar)
$config['db']['dsn'] = '';
// Timeout duration in seconds (not all drivers support this)
$config['db']['timeout'] = 5;
// Connection timeout duration in seconds
$config['db']['timeout'] = 30;
/*
* ====================

Loading…
Cancel
Save