From: Greg Sabino Mullane Date: Wed, 22 Oct 2008 03:58:30 +0000 (-0400) Subject: Don't sleep for 0.5, to easy to get it rounded down X-Git-Tag: 2.9.0~217 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=4ec6b2d49411574a931e3e4c4e076acab9b36e1e;p=check_postgres.git Don't sleep for 0.5, to easy to get it rounded down --- diff --git a/check_postgres.pl b/check_postgres.pl index 9c6b4537d..70a5d2021 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;