fix tasks_run never incremented

This commit is contained in:
Andrew Dolgov 2025-05-02 13:18:48 +03:00
parent 36f60b51d7
commit a51c1d5176
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A

View File

@ -972,6 +972,8 @@ class PluginHost {
$rc = (int) $task['callback']();
$task_duration = time() - $task_started;
++$tasks_run;
Debug::log("Task $task_name has finished in $task_duration seconds with RC=$rc, recording timestamp...");
if ($task_record) {