This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
feat: update HTTP server write timeout to 5 seconds - #908
Merged
Merged
Conversation
This change updates the HTTP server's write timeout to 5 seconds to ensure the exporters have enough time to write their output.
Contributor
Author
|
@jaqx0r 1 second was a little too short for both the JSON and prometheus exporters for some logs I was testing against. It looks like 2 seconds would have been fine, but I figured bumping up to 5 wasn't a problem. If you think this should be a command line argument I can propose that change instead. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #908 +/- ##
==========================================
+ Coverage 56.76% 57.52% +0.76%
==========================================
Files 66 68 +2
Lines 6923 6908 -15
==========================================
+ Hits 3930 3974 +44
+ Misses 2724 2669 -55
+ Partials 269 265 -4 ☔ View full report in Codecov by Sentry. |
jaqx0r
enabled auto-merge
August 5, 2024 23:09
Contributor
|
Thanks! I don't think we need a flag for it. This might help with #903 though I suspect the root cause there is iterating over the entire store. |
jaqx0r
approved these changes
Aug 5, 2024
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change updates the HTTP server's write timeout to 5 seconds to ensure the exporters have enough time to write their output.