git-svn-id: https://pgweb.postgresql.org/svn/trunk@2909
8f5c7a92-453e-0410-a47f-
ad33c8a6b003
$diff = $wwwmaster->_lastupdate - $current->_lastupdate;
// We allow for a mirror to claim it's 10 seconds in the
// future, to allow for varnish'ed dynamic sites
- if ($diff < 10) {
+ if ($diff < -10) {
$log->Log('Mirror ' . $row[1] . ' (' . $row[3] . ') claims to be newer than master!');
$log->Log('Mirror has ' . $current->LastUpdatedStr() . ', master has ' . $wwwmaster->LastUpdatedStr());
if ($row[2] == 1) {