WorkerTaskContext: add shutdown_requested() and fail_on_shutdown()
This commit is contained in:
1 parent
619cd5cbcb
commit
0fd55b08d9
6 files changed
+37
-11
No files matched your search
@@ -9,7 +9,7 @@ use proxmox::try_block;
|
||||
use proxmox::tools::fs::CreateOptions;
|
||||
|
||||
use pbs_api_types::{Authid, UPID};
|
||||
use pbs_tools::task_log;
|
||||
use pbs_tools::{task_log, task::WorkerTaskContext};
|
||||
|
||||
use proxmox_rest_server::{CommandoSocket, WorkerTask};
|
||||
|
||||
|
||||
Reference in new issue
Block a user