mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
Fixing value check for configuration
This commit is contained in:
parent
86aaa6565e
commit
f536107911
6 changed files with 19 additions and 37 deletions
|
@ -277,8 +277,6 @@ class Worker
|
|||
$age = (time() - self::$last_update) / 60;
|
||||
self::$last_update = time();
|
||||
|
||||
Logger::alert('last_update', ['age' => $age, 'last_update' => self::$last_update]);
|
||||
|
||||
if ($age > 1) {
|
||||
$stamp = (float)microtime(true);
|
||||
DBA::update('workerqueue', ['executed' => DateTimeFormat::utcNow()], ['pid' => $mypid, 'done' => false]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue