]> git.proxmox.com Git - proxmox-backup.git/commit
fix cross process task listing
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 9 Jul 2020 13:05:11 +0000 (15:05 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 9 Jul 2020 13:30:52 +0000 (15:30 +0200)
commitfae11693f0932c1e4f3a0eeeb508e667a6900bb1
treec58c3e065c376647f2820bfc466b120859d58acf
parent22231524e2055dc7f37f2124d3409cfd5c78986d
fix cross process task listing

it does not make sense to check if the worker is running if we already
have an endtime and state

our 'worker_is_active_local' heuristic returns true for non
process-local tasks, so we got 'running' for all tasks that were not
started by 'our' pid and were still running

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/server/worker_task.rs