mirror of
https://github.com/docker/compose.git
synced 2025-07-06 13:24:25 +02:00
Remove stop timeout in recreate containers
This doesn't seem like a good idea – 1 second isn't enough time to stop gracefully. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
b573b87a92
commit
bb89f85984
@ -178,7 +178,7 @@ class Service(object):
|
||||
|
||||
def recreate_container(self, container, **override_options):
|
||||
try:
|
||||
container.stop(timeout=1)
|
||||
container.stop()
|
||||
except APIError as e:
|
||||
if (e.response.status_code == 500
|
||||
and e.explanation
|
||||
|
Loading…
x
Reference in New Issue
Block a user