mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Add a configuration option for the Sync Server's block size.
(cherry picked from commit e2022297bb34df932f399356d5c948cab7a88f8b)
This commit is contained in:
parent
8e7cb12593
commit
07ada97ee7
@ -261,6 +261,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
|
||||
@ -939,6 +940,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