Increase varnishstat timeout (#5130)
This commit is contained in:
parent
4d026fce97
commit
d954218f75
|
@ -78,7 +78,7 @@ func varnishRunner(cmdName string, UseSudo bool, InstanceName string) (*bytes.Bu
|
||||||
|
|
||||||
var out bytes.Buffer
|
var out bytes.Buffer
|
||||||
cmd.Stdout = &out
|
cmd.Stdout = &out
|
||||||
err := internal.RunTimeout(cmd, time.Millisecond*200)
|
err := internal.RunTimeout(cmd, time.Millisecond*500)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &out, fmt.Errorf("error running varnishstat: %s", err)
|
return &out, fmt.Errorf("error running varnishstat: %s", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue