forked from proxmox-mirrors/proxmox
rest-server: increase task index lock timeout to 15s
this lock can be quite contended, until the surrounding code is properly split to reduce this contention it should help to give the worker task creation/cleanup code a bit more breathing room. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
57c8242dc2
commit
b2d31f075d
@ -139,7 +139,7 @@ impl WorkerTaskSetup {
|
||||
.clone()
|
||||
.perm(nix::sys::stat::Mode::from_bits_truncate(0o660));
|
||||
|
||||
let timeout = std::time::Duration::new(10, 0);
|
||||
let timeout = std::time::Duration::new(15, 0);
|
||||
|
||||
let file =
|
||||
proxmox_sys::fs::open_file_locked(&self.task_lock_fn, timeout, exclusive, options)?;
|
||||
|
Loading…
Reference in New Issue
Block a user