mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 16:47:46 +00:00
fixup! api: node stopall: expose setting the task timeout as endpoint parameter
This commit is contained in:
parent
1154329312
commit
853ce1ea65
@ -1911,12 +1911,13 @@ __PACKAGE__->register_method ({
|
|||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
'timeout' => {
|
'timeout' => {
|
||||||
description => 'Timeout for each guest shutdown task.',
|
description => 'Timeout for each guest shutdown task. Depending on `force-stop`,'
|
||||||
|
.' the shutdown gets then simply aborted or a hard-stop is forced.',
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
default => 180,
|
default => 180,
|
||||||
min => 0,
|
minimum => 0,
|
||||||
max => 2 * 3600, # mostly arbitrary, but we do not want to high timeouts
|
maximum => 2 * 3600, # mostly arbitrary, but we do not want to high timeouts
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user