mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-09-21 05:21:00 +02:00
fix tasks_run never incremented
This commit is contained in:
parent
36f60b51d7
commit
a51c1d5176
@ -972,6 +972,8 @@ class PluginHost {
|
|||||||
$rc = (int) $task['callback']();
|
$rc = (int) $task['callback']();
|
||||||
$task_duration = time() - $task_started;
|
$task_duration = time() - $task_started;
|
||||||
|
|
||||||
|
++$tasks_run;
|
||||||
|
|
||||||
Debug::log("Task $task_name has finished in $task_duration seconds with RC=$rc, recording timestamp...");
|
Debug::log("Task $task_name has finished in $task_duration seconds with RC=$rc, recording timestamp...");
|
||||||
|
|
||||||
if ($task_record) {
|
if ($task_record) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user