mirror of
https://github.com/caprover/caprover
synced 2026-09-25 16:15:34 +00:00
Added more logging, increased timeout for container
This commit is contained in:
@@ -792,11 +792,11 @@ class DockerApi {
|
||||
)
|
||||
}
|
||||
|
||||
if (retryCount < 3) {
|
||||
if (retryCount < 4) {
|
||||
return new Promise<void>(function(resolve) {
|
||||
setTimeout(function() {
|
||||
resolve()
|
||||
}, 3000)
|
||||
}, 4000)
|
||||
}).then(function() {
|
||||
Logger.d(
|
||||
'Retrying to get containerId for ' +
|
||||
@@ -1385,12 +1385,14 @@ class DockerApi {
|
||||
updatedData.TaskTemplate.ContainerSpec.Labels || {}
|
||||
updatedData.TaskTemplate.ContainerSpec.Labels.randomLabelForceUpdate = uuid()
|
||||
|
||||
// if (authObject) TODO
|
||||
// print updatedData.authconfig
|
||||
{
|
||||
if (authObject) {
|
||||
updatedData.authconfig = authObject
|
||||
}
|
||||
|
||||
Logger.d('Updating: ' + serviceName)
|
||||
// TODO REMOVE
|
||||
Logger.d(JSON.stringify(updatedData.authconfig))
|
||||
|
||||
instanceCount = Number(instanceCount)
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user