Give it some more time

This commit is contained in:
Girish Ramakrishnan 2016-12-30 15:30:40 -08:00
parent aba548025f
commit 68eefe4ceb

View File

@ -51,7 +51,7 @@ function runTestsIfNeeded(callback) {
debug('Box version has changed. latestVersionInfo:%j', latestVersionInfo); debug('Box version has changed. latestVersionInfo:%j', latestVersionInfo);
var diff = (new Date() - new Date(latestVersionInfo.date)); var diff = (new Date() - new Date(latestVersionInfo.date));
if (diff < 3 * 60 * 1000) { // give appstore 3 mins if (diff < 5 * 60 * 1000) { // give appstore 5 mins
debug('Waiting for appstore gets the new release. diff=%s', diff); debug('Waiting for appstore gets the new release. diff=%s', diff);
return callback(); return callback();
} }