[pve-devel] applied: [PATCH manager] ui: dc/options: add max_workers setting

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Mar 6 20:42:29 CET 2020


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/dc/OptionView.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index 6497648c..73dbfed7 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -217,6 +217,12 @@ Ext.define('PVE.dc.OptionView', {
 		backendUnit: "KiB",
 	    }]
 	});
+	me.add_integer_row('max_workers', gettext('Maximal Workers/bulk-action'), {
+	    deleteEmpty: true,
+	    defaultValue: 4,
+	    minValue: 1,
+	    maxValue: 64, // arbitrary but generous limit as limits are good
+	});
 
 	me.selModel = Ext.create('Ext.selection.RowModel', {});
 
-- 
2.20.1





More information about the pve-devel mailing list