forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[heartbeat][libbeat] Fix potential race in runner lists
Fixes elastic#28518 most likely, it's one I haven't personally been able to repro. This makes the runner list synchronous, thus preventing rapid adds/removes from creating simultaneously live plugins of the same type. There's definitely ways to do this more concurrently, but that sort of optimization/complexity isn't warranted here. Heartbeat can tear down monitors near instantaneously.
- Loading branch information
Showing
2 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters