Skip to content

Commit

Permalink
Bump docker service start timeout to 120 secs (#14585)
Browse files Browse the repository at this point in the history
This commit adds changes to bump docker start timeout to 120 secs because docker on HDDs can take some time to initialize, even this is not fool proof but after discussing with Caleb we have decided to bump this for now.

(cherry picked from commit b6ef090)

Co-authored-by: Waqar Ahmed <waqarahmedjoyia@live.com>
  • Loading branch information
bugclerk and sonicaj committed Sep 26, 2024
1 parent 5639c49 commit f62d65e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def before_start(self):
async def start(self):
try:
await super().start()
timeout = 40
timeout = 120 # We have this at 120 because HDDs are notorious and docker can take more time there
# First time when docker is started, it takes a bit more time to initialise itself properly
# and we need to have sleep here so that after start is called post_start is not dismissed
while timeout > 0:
Expand Down

0 comments on commit f62d65e

Please sign in to comment.