Increase wait time to 5 minutes
This commit is contained in:
parent
d5280c3dc3
commit
0fd01015e1
|
@ -154,7 +154,7 @@ class Cron
|
||||||
|
|
||||||
$processes = DBA::p("SHOW FULL PROCESSLIST");
|
$processes = DBA::p("SHOW FULL PROCESSLIST");
|
||||||
while ($process = DBA::fetch($processes)) {
|
while ($process = DBA::fetch($processes)) {
|
||||||
if (($process['Command'] != 'Sleep') || ($process['Time'] < 60) || ($process['db'] != DBA::databaseName())) {
|
if (($process['Command'] != 'Sleep') || ($process['Time'] < 300) || ($process['db'] != DBA::databaseName())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue