mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Fixup command argument
This commit is contained in:
parent
38f70cc55a
commit
7637ae1dcc
4 changed files with 29 additions and 22 deletions
|
@ -846,7 +846,7 @@ class Worker
|
|||
private static function activeWorkers()
|
||||
{
|
||||
$stamp = (float)microtime(true);
|
||||
$count = DBA::count('process', ['command' => 'Worker.php']);
|
||||
$count = DI::process()->countCommand('Worker.php');
|
||||
self::$db_duration += (microtime(true) - $stamp);
|
||||
self::$db_duration_count += (microtime(true) - $stamp);
|
||||
return $count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue