dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Normalize and lower the default DB lag wait timeout
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
lbfactory
/
LBFactory.php
diff --git
a/includes/libs/rdbms/lbfactory/LBFactory.php
b/includes/libs/rdbms/lbfactory/LBFactory.php
index
32886e2
..
bc428ec
100644
(file)
--- a/
includes/libs/rdbms/lbfactory/LBFactory.php
+++ b/
includes/libs/rdbms/lbfactory/LBFactory.php
@@
-313,7
+313,7
@@
abstract class LBFactory implements ILBFactory {
$opts += [
'domain' => false,
'cluster' => false,
- 'timeout' =>
6
0,
+ 'timeout' =>
$this->cliMode ? 60 : 1
0,
'ifWritesSince' => null
];