From: Michael Date: Wed, 6 Jan 2021 23:24:00 +0000 (+0000) Subject: Increase wait time to 5 minutes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0fd01015e136ca9bef98ecce480158400e81ffd7;p=friendica.git Increase wait time to 5 minutes --- diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 7257101d90..acb5132afb 100644 --- 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'] < 60) || ($process['db'] != DBA::databaseName())) { + if (($process['Command'] != 'Sleep') || ($process['Time'] < 300) || ($process['db'] != DBA::databaseName())) { continue; }