diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-02 13:18:48 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-02 13:18:48 +0300 |
| commit | a51c1d5176d0285a4fecc6e1e84d9f7dc4abaca5 (patch) | |
| tree | 4fd80f0768043d36870ffad7255a225a22eebd55 /classes | |
| parent | 36f60b51d7a49fe18071f67770064cccf2cb439d (diff) | |
fix tasks_run never incremented
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/PluginHost.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/PluginHost.php b/classes/PluginHost.php index e417fde1f..9bdf7c0b4 100644 --- a/classes/PluginHost.php +++ b/classes/PluginHost.php @@ -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) { |