Skip to content

Commit

Permalink
Increase varnishstat timeout (influxdata#5130)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarsten authored and Jean-Louis Dupond committed Apr 22, 2019
1 parent cce85f2 commit 0d7f1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/varnish/varnish.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func varnishRunner(cmdName string, UseSudo bool, InstanceName string) (*bytes.Bu

var out bytes.Buffer
cmd.Stdout = &out
err := internal.RunTimeout(cmd, time.Millisecond*200)
err := internal.RunTimeout(cmd, time.Millisecond*500)
if err != nil {
return &out, fmt.Errorf("error running varnishstat: %s", err)
}
Expand Down

0 comments on commit 0d7f1bb

Please sign in to comment.