wait really long since DO is so slow at times

This commit is contained in:
Girish Ramakrishnan 2016-08-12 21:32:17 -07:00
parent 0c051d373e
commit 0056e7cfec

View File

@ -84,8 +84,8 @@ AppStore.prototype.waitForCloudron = function (boxId) {
var boxInfo = null, res; var boxInfo = null, res;
for (var i = 0; i < 60; i++) { for (var i = 0; i < 120; i++) {
sleep(20); sleep(30);
process.stdout.write('.'); process.stdout.write('.');
res = request.get(this._origin + '/api/v1/cloudrons/' + boxId).query({ accessToken: this._credentials.accessToken }).end(); res = request.get(this._origin + '/api/v1/cloudrons/' + boxId).query({ accessToken: this._credentials.accessToken }).end();
common.verifyResponse2xx(res, 'Could not query cloudron status'); common.verifyResponse2xx(res, 'Could not query cloudron status');