mirror of
https://git.proxmox.com/git/proxmox-backup-qemu
synced 2025-10-04 14:38:47 +00:00
src/worker_task.rs: set thread name
This commit is contained in:
parent
a79ce5d618
commit
7e108c81f7
@ -46,9 +46,9 @@ impl BackupTask {
|
||||
|
||||
let (command_tx, command_rx) = channel();
|
||||
|
||||
let worker = std::thread::spawn(move || {
|
||||
let worker = std::thread::Builder::new().name(String::from("proxmox-backup-qemu-main-worker")).spawn(move || {
|
||||
backup_worker_task(setup, crypt_config, connect_tx, command_rx)
|
||||
});
|
||||
})?;
|
||||
|
||||
connect_rx.recv()??; // sync
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user