adjust kill time
parent
8f51d7de58
commit
a62d611e0b
|
@ -235,7 +235,7 @@ func ContainerID(ociBinary string, nameOrID string) (string, error) {
|
|||
|
||||
// WarnIfSlow runs an oci command, warning about performance issues
|
||||
func WarnIfSlow(args ...string) ([]byte, error) {
|
||||
killTime := 15 * time.Second
|
||||
killTime := 18 * time.Second
|
||||
warnTime := 2 * time.Second
|
||||
|
||||
if args[1] == "volume" || args[1] == "ps" { // volume and ps requires more time than inspect
|
||||
|
|
Loading…
Reference in New Issue