From 35352736b9dc6d03be22620242e1b0542f9102e1 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 1 Oct 2015 11:15:48 -0500 Subject: [PATCH] Issue #2401071 by Dane Powell: Increase fudge factor. --- modules/update/update.compare.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc index 072a0da..53d3019 100644 --- a/modules/update/update.compare.inc +++ b/modules/update/update.compare.inc @@ -655,7 +655,7 @@ function update_calculate_project_update_status($unused, &$project_data, $availa // If we're running a dev snapshot and have a timestamp, stop // searching for security updates once we hit an official release - // older than what we've got. Allow 100 seconds of leeway to handle + // older than what we've got. Allow 600 seconds of leeway to handle // differences between the datestamp in the .info file and the // timestamp of the tarball itself (which are usually off by 1 or 2 // seconds) so that we don't flag that as a new release. @@ -664,7 +664,7 @@ function update_calculate_project_update_status($unused, &$project_data, $availa // We don't have current timestamp info, so we can't know. continue; } - elseif (isset($release['date']) && ($project_data['datestamp'] + 100 > $release['date'])) { + elseif (isset($release['date']) && ($project_data['datestamp'] + 600 > $release['date'])) { // We're newer than this, so we can skip it. continue; } @@ -735,7 +735,7 @@ function update_calculate_project_update_status($unused, &$project_data, $availa $project_data['status'] = UPDATE_NOT_CHECKED; $project_data['reason'] = t('Unknown release date'); } - elseif (($project_data['datestamp'] + 100 > $latest['date'])) { + elseif (($project_data['datestamp'] + 600 > $latest['date'])) { $project_data['status'] = UPDATE_CURRENT; } else { -- 2.1.4