From 98b2b670cd23dd4e13f9ffe027c0298951d69eb7 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 11 Feb 2010 10:49:52 -0500 Subject: Change sleeptime for logfile action to 1 --- check_postgres.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'check_postgres.pl') 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) -- cgit v1.2.3