Merge pull request #91 from ClusterLabs/anvil-tools-dev

* Fixed a missing semi-colon that broke Database.pm.
main
digimer-bot 4 years ago committed by GitHub
commit 7cea567817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Anvil/Tools/DRBD.pm
  2. 2
      Anvil/Tools/Database.pm

@ -2188,6 +2188,7 @@ sub update_global_common
my $say_after_sb_1pri = "discard-secondary"; my $say_after_sb_1pri = "discard-secondary";
my $say_after_sb_2pri = "disconnect"; my $say_after_sb_2pri = "disconnect";
my $say_timeout = "100"; my $say_timeout = "100";
my $say_ping_timeout = "30";
my $say_wfc_timeout = 120; my $say_wfc_timeout = 120;
# Read in the existing config. # Read in the existing config.

@ -219,7 +219,7 @@ sub archive_database
$anvil->data->{sys}{database}{archive}{count} = 25000 if not defined $anvil->data->{sys}{database}{archive}{count}; $anvil->data->{sys}{database}{archive}{count} = 25000 if not defined $anvil->data->{sys}{database}{archive}{count};
$anvil->data->{sys}{database}{archive}{division} = 30000 if not defined $anvil->data->{sys}{database}{archive}{division}; $anvil->data->{sys}{database}{archive}{division} = 30000 if not defined $anvil->data->{sys}{database}{archive}{division};
$anvil->data->{sys}{database}{archive}{trigger} = 50000 if not defined $anvil->data->{sys}{database}{archive}{trigger}; $anvil->data->{sys}{database}{archive}{trigger} = 50000 if not defined $anvil->data->{sys}{database}{archive}{trigger};
$anvil->data->{sys}{database}{archive}{save_to_disk} = 0 $anvil->data->{sys}{database}{archive}{save_to_disk} = 0;
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => {
"sys::database::archive::compress" => $anvil->data->{sys}{database}{archive}{compress}, "sys::database::archive::compress" => $anvil->data->{sys}{database}{archive}{compress},
"sys::database::archive::count" => $anvil->data->{sys}{database}{archive}{count}, "sys::database::archive::count" => $anvil->data->{sys}{database}{archive}{count},

Loading…
Cancel
Save