Skip to content

Commit

Permalink
Increase timeout to open osquery extension socket (#194)
Browse files Browse the repository at this point in the history
Occasionally during tests the 5s timeout would expire. Bumping to 10s still
seems like a reasonable limit, and may prevent startup from failing under
unusual circumstances.
  • Loading branch information
zwass authored Oct 25, 2017
1 parent 0c38b43 commit 72c4634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osquery/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (r *Runner) Healthy() error {

// How long to wait before erroring because we cannot open the osquery
// extension socket.
const socketOpenTimeout = 5 * time.Second
const socketOpenTimeout = 10 * time.Second

// How often to try to open the osquery extension socket
const socketOpenInterval = 200 * time.Millisecond
Expand Down

0 comments on commit 72c4634

Please sign in to comment.