diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-30 15:05:13 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-30 15:05:13 +1000 |
| commit | f1b1d41230a41e70d098f4e04f138bc190154e39 (patch) | |
| tree | 103c09cad00b04485996eac92cecdadda2609185 | |
| parent | 46d41cd2a7bce8e81b0deec2022a1393e155fe32 (diff) | |
Update comments for persistent database connections and increase timeout
| -rw-r--r-- | inc/config.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/config.php b/inc/config.php index 02cdbabf..e8b65967 100644 --- a/inc/config.php +++ b/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; /* * ==================== |
