mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Reduce the Destroy timeout from 10 to 3 seconds
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ func (runtime *Runtime) Destroy(container *Container) error {
|
||||
return fmt.Errorf("Container %v not found - maybe it was already destroyed?", container.Id)
|
||||
}
|
||||
|
||||
if err := container.Stop(10); err != nil {
|
||||
if err := container.Stop(3); err != nil {
|
||||
return err
|
||||
}
|
||||
if mounted, err := container.Mounted(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user