From 41fc20b1a5184cb22c845991ad1e75888c90d87d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 9 Jul 2015 20:27:30 -0700 Subject: [PATCH] Give some time for the backup to start --- cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index 50063fd..3b07939 100644 --- a/cloudron.js +++ b/cloudron.js @@ -210,7 +210,7 @@ Cloudron.prototype.backup = function () { verifyResponse(res, 'Could not schedule backup'); while (true) { - sleep(5); + sleep(10); // backup sometimes takes a while to start res = request.get(this._origin + '/api/v1/cloudron/progress').end(); if (res.body.backup === null || res.body.backup.percent === 100) { debug('backup done');