Pārlūkot izejas kodu

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 <[email protected]>
Ben Firshman 11 gadi atpakaļ
vecāks
revīzija
bb89f85984
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      fig/service.py

+ 1 - 1
fig/service.py

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