Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flush timeout & watchdog timer #55

Merged
merged 6 commits into from
Sep 4, 2024
Merged

Add flush timeout & watchdog timer #55

merged 6 commits into from
Sep 4, 2024

Conversation

abraithwaite
Copy link
Contributor

@abraithwaite abraithwaite commented Sep 4, 2024

We saw some flushes hanging writing to destinations using the batcher.

This PR adds a configuration option for both timeouts and a watchdog timer.

Setting the flush timer is recommended, and setting the watchdog timer is recommended as backup in case the flusher is not properly handling context cancellation.

@abraithwaite abraithwaite requested a review from a team September 4, 2024 19:44
@abraithwaite abraithwaite changed the title Alan/timeouts Add flush timeout & watchdog timer Sep 4, 2024
@abraithwaite abraithwaite merged commit b1176c0 into main Sep 4, 2024
1 check passed
@abraithwaite abraithwaite deleted the alan/timeouts branch September 4, 2024 23:08
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.

1 participant