mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +00:00
increase supervisor update timeout to 1 minute
This commit is contained in:
parent
81fbbab362
commit
5a9f5bebc6
@ -55,7 +55,7 @@ startNewSupervisor = (currentSupervisor) ->
|
||||
)
|
||||
stream.on 'end', ->
|
||||
reject(new Error('New supervisor stopped before success message'))
|
||||
.timeout(10000) # wait up to 10 seconds
|
||||
.timeout(60000) # wait up to 1 minute
|
||||
.catch (e) ->
|
||||
container.stopAsync()
|
||||
console.log('Container failed to start successfully. Error: ', e)
|
||||
|
Loading…
Reference in New Issue
Block a user