mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
Add a configuration option for the Sync Server's block size.
This commit is contained in:
parent
742f487d72
commit
e2022297bb
@ -274,6 +274,7 @@ sub pandora_load_config {
|
||||
$pa_config->{"translate_enterprise_strings"} = 1; # 5.1
|
||||
$pa_config->{"syncserver"} = 0; # 7.0
|
||||
$pa_config->{"sync_address"} = ''; # 7.0
|
||||
$pa_config->{"sync_block_size"} = 65535; # 7.0
|
||||
$pa_config->{"sync_ca"} = ''; # 7.0
|
||||
$pa_config->{"sync_cert"} = ''; # 7.0
|
||||
$pa_config->{"sync_key"} = ''; # 7.0
|
||||
@ -986,6 +987,9 @@ sub pandora_load_config {
|
||||
elsif ($parametro =~ m/^sync_address\s+(.*)/i) {
|
||||
$pa_config->{'sync_address'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^sync_block_size\s+([0-9]*)/i) {
|
||||
$pa_config->{'sync_block_size'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^sync_ca\s+(.*)/i) {
|
||||
$pa_config->{'sync_ca'}= clean_blank($1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user