From dc4783337dcd4c587b4e6ef60300357a705c935f Mon Sep 17 00:00:00 2001 From: Richard Yen Date: Mon, 29 Sep 2014 17:27:09 -0700 Subject: [PATCH] if epoch rounds to -0, then just use 0 --- check_postgres.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/check_postgres.pl b/check_postgres.pl index 2e6eb7a4..4b879c1c 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -7663,6 +7663,7 @@ sub check_txn_idle { ## Keep track of the longest overall time $maxr = $r if $r->{seconds} >= $maxr->{seconds}; + $maxr = 0 if $r->{seconds} >= $maxr->{seconds} and $r->{seconds} eq '-0'; ## if epoch rounds to -0, just use 0 $count++; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy