mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 08:18:00 +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,
|
||||
},
|
||||
'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',
|
||||
optional => 1,
|
||||
default => 180,
|
||||
min => 0,
|
||||
max => 2 * 3600, # mostly arbitrary, but we do not want to high timeouts
|
||||
minimum => 0,
|
||||
maximum => 2 * 3600, # mostly arbitrary, but we do not want to high timeouts
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user