Increased wait for initial activation

This commit is contained in:
Kasra Bigdeli committed 2019-08-14 15:39:43 -04:00
1 parent 833e0d5eb5
commit c2d976ad01
1 file changed
+2 -2
+2 -2
View File
@@ -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.'))