From: Greg Sabino Mullane Date: Thu, 11 Feb 2010 15:49:52 +0000 (-0500) Subject: Change sleeptime for logfile action to 1 X-Git-Tag: 2.14.0~1 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=98b2b670cd23dd4e13f9ffe027c0298951d69eb7;p=check_postgres.git Change sleeptime for logfile action to 1 --- diff --git a/check_postgres.pl b/check_postgres.pl index 2f0793c75..927ba6b8d 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3774,8 +3774,8 @@ sub check_logfile { delete @{$db}{qw(ok slurp totaltime)}; my $badinfo = run_command("$funky", {failok => 1, target => $db} ); - my $MAXSLEEPTIME = $opt{timeout} || 45; - my $SLEEP = 0.5; + my $MAXSLEEPTIME = $opt{timeout} || 20; + my $SLEEP = 1; my $found = 0; LOGWAIT: { sleep $SLEEP; @@ -8073,9 +8073,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 -=item B +=item B (February 11, 2010) Added the 'slony_status' action. + Changed the logfile sleep from 0.5 to 1, as 0.5 gets rounded to 0 on some boxes! =item B (February 4, 2010)