From 766cc8e63363ce68eb6b6fa0401cabe0501f19f5 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 16 Apr 2006 06:36:57 +0000 Subject: [PATCH] attempting to fix lag detection again --- includes/Database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Database.php b/includes/Database.php index c6eecbdd5a..65be7389fd 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1641,8 +1641,8 @@ class Database { if ( $row->User == 'system user' ) { if ( ++$slaveThreads == 2 ) { # This is it, return the time (except -ve) - if ( $row->Time > 1<<31 ) { - return 0; + if ( $row->Time > 0x7ffffff ) { + return false; } else { return $row->Time; } -- 2.20.1