Skip to content

Conversation

@afurche
Copy link
Contributor

@afurche afurche commented Dec 27, 2024

Currently a single ThreadPoolExecutor takes care of callbacks sending metrics, logs, checking time diff and sending hearbeat.
Knowning that log parsing takes some time on EEC side, when there are many log requests in as single interval (when using report_log_event() 1 request is created for each single log, due to that it's possible for tens or hundreds of requests in each interval), the heartbeat might not be send on time and EEC could restart the process.

This PR adds a seperate ThreadPoolExecutor for solely heartbeat purpose, making it independent from other functionalities.

@dlopes7 dlopes7 merged commit 7fe617b into main Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants