Give it some more time
This commit is contained in:
parent
aba548025f
commit
68eefe4ceb
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user