mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
Fix miscalculation in time option command defaults.
These defaults were not getting the multiplier so the timeouts were much lower than expected. Since PostgreSQL retries get/push this was probably not a big deal, but it could be critical in the future for a different time value.
This commit is contained in:
parent
9f3c949635
commit
7517c5fef8
@ -395,6 +395,7 @@ sub buildConfigParse
|
||||
{
|
||||
my $strBuildSourceOptionalCommand;
|
||||
my $rhCommand = $rhOption->{&CFGDEF_COMMAND}{$strCommand};
|
||||
$rhCommand->{&CFGDEF_TYPE} = $rhOption->{&CFGDEF_TYPE};
|
||||
|
||||
if (defined($rhCommand))
|
||||
{
|
||||
|
@ -1504,14 +1504,14 @@ static const ParseRuleOption parseRuleOption[CFG_OPTION_TOTAL] =
|
||||
(
|
||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND(cfgCmdArchiveGet),
|
||||
|
||||
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("1"),
|
||||
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("1000"),
|
||||
)
|
||||
|
||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND_OVERRIDE
|
||||
(
|
||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND(cfgCmdArchivePush),
|
||||
|
||||
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("1"),
|
||||
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("1000"),
|
||||
)
|
||||
),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user