summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index e0c2a664b..4980140c1 100644
--- a/functions.php
+++ b/functions.php
@@ -7371,7 +7371,7 @@
$instance_qpart = "";
if (DB_TYPE == "pgsql") {
- $date_qpart = "last_connected < NOW() - INTERVAL '1 second'";
+ $date_qpart = "last_connected < NOW() - INTERVAL '6 hours'";
} else {
$date_qpart = "last_connected < DATE_SUB(NOW(), INTERVAL 6 HOUR";
}