summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2010-02-11 15:49:52 +0000
committerGreg Sabino Mullane2010-02-11 15:49:52 +0000
commit98b2b670cd23dd4e13f9ffe027c0298951d69eb7 (patch)
treee32c1724b19842f61070493bc7af83a86294b756 /check_postgres.pl
parent8eb4df478492cb03a6110a4382fd867884d80a54 (diff)
Change sleeptime for logfile action to 1
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl7
1 files changed, 4 insertions, 3 deletions
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<Version 2.14.0>
+=item B<Version 2.14.0> (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<Version 2.13.2> (February 4, 2010)