wait upto 10 mins for app install
This commit is contained in:
parent
670e57d2e8
commit
bbcf6dcdf4
@ -89,7 +89,7 @@ Cloudron.prototype.waitForApp = function (appId) {
|
|||||||
// wait for app to come up
|
// wait for app to come up
|
||||||
process.stdout.write('Waiting for app to come up.');
|
process.stdout.write('Waiting for app to come up.');
|
||||||
|
|
||||||
for (var i = 0; i < 40; i++) {
|
for (var i = 0; i < 60; i++) {
|
||||||
sleep(10);
|
sleep(10);
|
||||||
process.stdout.write('.');
|
process.stdout.write('.');
|
||||||
var res = request.get(this._origin + '/api/v1/apps/'+ appId).query({ access_token: this._credentials.accessToken }).end();
|
var res = request.get(this._origin + '/api/v1/apps/'+ appId).query({ access_token: this._credentials.accessToken }).end();
|
||||||
|
Loading…
Reference in New Issue
Block a user