From 6e366d8a966aeaac681b5a72388eae7f2733244a Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Sun, 22 Mar 2009 06:59:33 +0100 Subject: [PATCH] unbind uptodateness from ttl issues --- lib/File/Rsync/Mirror/Recentfile.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/File/Rsync/Mirror/Recentfile.pm b/lib/File/Rsync/Mirror/Recentfile.pm index 17b2ce1..df41f9e 100644 --- a/lib/File/Rsync/Mirror/Recentfile.pm +++ b/lib/File/Rsync/Mirror/Recentfile.pm @@ -2021,7 +2021,9 @@ sub uptodate { $why = "saturated"; $uptodate = 1; } - unless (defined $uptodate) { + # it's too easy to misconfigure ttl and related timings and then + # never reach uptodateness, so disabled 2009-03-22 + if (0 and not defined $uptodate) { if ($self->ttl_reached){ $why = "ttl_reached returned true, so we are not uptodate"; $uptodate = 0 ; -- 2.11.4.GIT