mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Add support for setting the Maximum concurrent jobs on a storage daemon, thanks to Caspar Smit.
This commit is contained in:
@@ -10,3 +10,5 @@ Added a missing program so that mass deletion of storage devices works.
|
||||
---- Changes since 1.490 ----
|
||||
Fixed fileset exlude list and 'Run at times' display, thanks to a patch by Joe Zhou.
|
||||
Added support for automatic volume labelling and max volume size, thanks to Caspar Smit.
|
||||
---- Changes since 1.500 ----
|
||||
Add support for setting the Maximum concurrent jobs on a storage daemon, thanks to Caspar Smit.
|
||||
|
||||
@@ -19,6 +19,8 @@ if ($in{'new'}) {
|
||||
'value' => &get_system_hostname() },
|
||||
{ 'name' => 'Media Type',
|
||||
'value' => 'File' },
|
||||
{ 'name' => 'Maximum Concurrent Jobs',
|
||||
'value' => '20' },
|
||||
{ 'name' => 'Device',
|
||||
'value' => $devices[0] },
|
||||
];
|
||||
@@ -77,6 +79,10 @@ else {
|
||||
print &ui_table_row($text{'storage_media'},
|
||||
&ui_textbox("media", $media=&find_value("Media Type", $mems), 20));
|
||||
|
||||
# Maximum Concurrent Jobs
|
||||
print &ui_table_row($text{'storage_maxjobs'},
|
||||
&ui_textbox("maxjobs", $maxjobs=&find_value("Maximum Concurrent Jobs", $mems), 5));
|
||||
|
||||
# SSL options
|
||||
&show_tls_directives($storage);
|
||||
|
||||
|
||||
@@ -250,6 +250,7 @@ storage_port=Bacula SD port
|
||||
storage_pass=Bacula SD password
|
||||
storage_device=Storage device name
|
||||
storage_media=Media type name
|
||||
storage_maxjobs=Maximum concurrent jobs
|
||||
storage_other=Other..
|
||||
storage_err=Failed to save storage daemon
|
||||
storage_ename=Missing storage daemon name
|
||||
@@ -259,6 +260,7 @@ storage_eaddress=Missing or invalid hostname or address
|
||||
storage_eport=Missing or invalid SD port
|
||||
storage_edevice=Missing storage device name
|
||||
storage_emedia=Missing media type name
|
||||
storage_emaxjobs=Missing maximum concurrent jobs
|
||||
storage_echild=This client cannot be deleted as it is used by $1
|
||||
storage_status=Show Status
|
||||
|
||||
|
||||
@@ -59,6 +59,9 @@ else {
|
||||
$in{'media'} =~ /\S/ || &error($text{'storage_emedia'});
|
||||
&save_directive($conf, $storage, "Media Type", $in{'media'}, 1);
|
||||
|
||||
$in{'maxjobs'} =~ /\S/ || &error($text{'storage_emaxjobs'});
|
||||
&save_directive($conf, $storage, "Maximum Concurrent Jobs", $in{'maxjobs'}, 1);
|
||||
|
||||
# SSL directives
|
||||
&parse_tls_directives($conf, $storage, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user