adjust kill time

pull/7410/head
Medya Gh 2020-04-03 19:09:45 -07:00
parent 8f51d7de58
commit a62d611e0b
1 changed files with 1 additions and 1 deletions

View File

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