[check_postgres] [commit] Don't sleep for 0.5, to easy to get it rounded down
check_postgres at bucardo.org
check_postgres at bucardo.org
Wed Oct 22 03:59:00 UTC 2008
Committed by Greg Sabino Mullane <greg at endpoint.com>
Don't sleep for 0.5, to easy to get it rounded down
---
check_postgres.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/check_postgres.pl b/check_postgres.pl
index 9c6b453..70a5d20 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2761,8 +2761,8 @@ sub check_logfile {
delete $db->{ok}; delete $db->{slurp}; delete $db->{totaltime};
my $badinfo = run_command("SELECT $funky", {failok => 1, target => $db} );
- my $MAXSLEEPTIME = 3;
- my $SLEEP = 0.5;
+ my $MAXSLEEPTIME = 4;
+ my $SLEEP = 1;
my $found = 0;
LOGWAIT: {
sleep $SLEEP;
--
1.5.5.4
More information about the Check_postgres
mailing list