mirror of
https://github.com/caprover/caprover
synced 2026-10-05 04:47:43 +00:00
Increased wait for initial activation
This commit is contained in:
1 parent
833e0d5eb5
commit
c2d976ad01
1 file changed
+2
-2
@@ -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.'))
|
||||
|
||||
Reference in new issue
Block a user