projects
/
pgweb-old.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c003533
)
Sneakly little missing - character...
author
Magnus Hagander
<
[email protected]
>
Mon, 7 Nov 2011 18:28:21 +0000
(18:28 +0000)
committer
Magnus Hagander
<
[email protected]
>
Mon, 7 Nov 2011 18:28:21 +0000
(18:28 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2909
8f5c7a92
-453e-0410-a47f-
ad33c8a6b003
portal/tools/automirror/automirror.php
patch
|
blob
|
blame
|
history
diff --git
a/portal/tools/automirror/automirror.php
b/portal/tools/automirror/automirror.php
index 4b27eebf60c09e34c6897ac8a7e257aa9d4d93cd..cba85ae1ab1aec356eb60f088e2e33842d71d18e 100644
(file)
--- a/
portal/tools/automirror/automirror.php
+++ b/
portal/tools/automirror/automirror.php
@@
-50,7
+50,7
@@
function check_mirror($log, $db, $mirrtype, $MASTERIP, $MASTERHOST, $MIRRORHOST,
$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) {