From c2d976ad0199bb0a40aa9d175e8df8b8363cbcf0 Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Wed, 14 Aug 2019 15:39:43 -0400 Subject: [PATCH] Increased wait for initial activation --- src/routes/user/system/SystemRouter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/user/system/SystemRouter.ts b/src/routes/user/system/SystemRouter.ts index a4fc0d03..be59b583 100644 --- a/src/routes/user/system/SystemRouter.ts +++ b/src/routes/user/system/SystemRouter.ts @@ -91,8 +91,8 @@ router.post('/enablessl/', function(req, res, next) { .then(function() { // This is necessary as the CLI immediately tries to connect to https://captain.root.com // Without this delay it'll fail to connect - Logger.d('Waiting for 5 seconds...') - return Utils.getDelayedPromise(5000) + Logger.d('Waiting for 7 seconds...') + return Utils.getDelayedPromise(7000) }) .then(function() { res.send(new BaseApi(ApiStatusCodes.STATUS_OK, 'Root SSL Enabled.'))