increase supervisor update timeout to 1 minute

This commit is contained in:
Aleksis Brezas 2014-09-23 21:32:27 +03:00 committed by Pablo Carranza Vélez
parent 81fbbab362
commit 5a9f5bebc6

View File

@ -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)