Skip to content

Commit

Permalink
[Elastic Agent] Increase checkin grace period. (#23568)
Browse files Browse the repository at this point in the history
* Include checkin grace period.

* Add changelog entry.
  • Loading branch information
blakerouse authored Jan 19, 2021
1 parent 739f820 commit 2f50f9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- Do not take ownership of Endpoint log path {pull}23444[23444]
- Fixed fetching DBus service PID {pull}23496[23496]
- Fix issue of missing log messages from filebeat monitor {pull}23514[23514]
- Increase checkin grace period to 30 seconds {pull}23568[23568]

==== New features

Expand Down
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/pkg/core/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
InitialCheckinTimeout = 5 * time.Second
// CheckinMinimumTimeoutGracePeriod is additional time added to the client.CheckinMinimumTimeout
// to ensure the application is checking in correctly.
CheckinMinimumTimeoutGracePeriod = 2 * time.Second
CheckinMinimumTimeoutGracePeriod = 30 * time.Second
// WatchdogCheckLoop is the amount of time that the watchdog will wait between checking for
// applications that have not checked in the correct amount of time.
WatchdogCheckLoop = 5 * time.Second
Expand Down

0 comments on commit 2f50f9e

Please sign in to comment.