https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5280c3
)
Increase wait time to 5 minutes
author
Michael
<heluecht@pirati.ca>
Wed, 6 Jan 2021 23:24:00 +0000
(23:24 +0000)
committer
Michael
<heluecht@pirati.ca>
Wed, 6 Jan 2021 23:24:00 +0000
(23:24 +0000)
src/Worker/Cron.php
patch
|
blob
|
history
diff --git
a/src/Worker/Cron.php
b/src/Worker/Cron.php
index
7257101
..
acb5132
100644
(file)
--- a/
src/Worker/Cron.php
+++ b/
src/Worker/Cron.php
@@
-154,7
+154,7
@@
class Cron
$processes = DBA::p("SHOW FULL PROCESSLIST");
while ($process = DBA::fetch($processes)) {
- if (($process['Command'] != 'Sleep') || ($process['Time'] <
6
0) || ($process['db'] != DBA::databaseName())) {
+ if (($process['Command'] != 'Sleep') || ($process['Time'] <
30
0) || ($process['db'] != DBA::databaseName())) {
continue;
}