Update comments for persistent database connections and increase timeout
This commit is contained in:
parent
46d41cd2a7
commit
f1b1d41230
@ -88,12 +88,12 @@
|
|||||||
$config['db']['database'] = '';
|
$config['db']['database'] = '';
|
||||||
// Table prefix (optional)
|
// Table prefix (optional)
|
||||||
$config['db']['prefix'] = '';
|
$config['db']['prefix'] = '';
|
||||||
// Use a persistent connection (experimental; benefits unknown)
|
// Use a persistent database connection when possible
|
||||||
$config['db']['persistent'] = false;
|
$config['db']['persistent'] = false;
|
||||||
// Anything more to add to the DSN string (eg. port=xxx;foo=bar)
|
// Anything more to add to the DSN string (eg. port=xxx;foo=bar)
|
||||||
$config['db']['dsn'] = '';
|
$config['db']['dsn'] = '';
|
||||||
// Timeout duration in seconds (not all drivers support this)
|
// Connection timeout duration in seconds
|
||||||
$config['db']['timeout'] = 5;
|
$config['db']['timeout'] = 30;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ====================
|
* ====================
|
||||||
|
Loading…
Reference in New Issue
Block a user