Conversation
- refactor root cert and client root methods to make consistent signature
… value is empty (#944)
…ex implementation and the flow of it (#947)
- its preparation for upcoming debug log formatter
Co-authored-by: gtwn <tawan.s@arise.tech>
…eck (#989) Co-authored-by: xiyuliu <xiyuliu@bytedance.com>
Co-authored-by: xiyuliu <xiyuliu@bytedance.com> Co-authored-by: Jeevanandam M. <jeeva@myjeeva.com>
… in SSE (#1010) Change the retry duration from seconds to milliseconds for proper handling of client-specified retry intervals. This ensures compatibility with standard SSE behavior and prevents potential timeout issues. - https://html.spec.whatwg.org/multipage/server-sent-events.html#concept-event-stream-reconnection-time - https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#retry
…#1011) * sse: introduce a sync pool for `rawEvent` to optimize memory usage. * fix deferred resource cleanup in event parsing Move the `defer putRawEvent(ed)` call after error handling to ensure resources are properly released only when parsing succeeds. This prevents potential resource leaks when errors occur during event parsing.
Co-authored-by: hechenglong <hechl@chinatelecom.cn>
…tions to avoid race conditions (#1019)
Co-authored-by: Jack <jackcipehr.vip@gmail.com>
…ker (#1088) * refactor: replace atomic counters with sliding window in circuit breaker Improves time-based failure tracking accuracy by using a sliding window with progressive bucket rotation instead of atomic counters with instant resets. Provides better thread-safety, eliminates race conditions, and ensures consistent behavior across count-based and ratio-based modes. * test: add SetInterval coverage for sliding window Adds test case for SetInterval method to achieve 100% test coverage on circuit breaker sliding window implementation. Co-authored-by: goodliu <liuzengh@qq.com>
…rs, and path parameters. (#1098) * Add support for `SetXXXAny` methods to simplify handling various data types in headers, query parameters, and path parameters. * Add benchmarks for `formatAnyToString` covering various data types.
…g endpoints (#1081) * feat(hedging): support hedging in order to reduce latency when quering endpoints Signed-off-by: Ahmet DEMIR <me@ahmet2mir.eu> * fix(hedging): move fields to struct, remove ratelimit, fail on sethedging func if not enabled, restore retry, allow unsafe funcs Signed-off-by: Ahmet DEMIR <me@ahmet2mir.eu> * fix(hedging): adapt suggestions Signed-off-by: Ahmet DEMIR <me@ahmet2mir.eu> --------- Signed-off-by: Ahmet DEMIR <me@ahmet2mir.eu>
Signed-off-by: Ahmet DEMIR <me@ahmet2mir.eu>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1107 +/- ##
==========================================
+ Coverage 99.76% 99.86% +0.10%
==========================================
Files 17 19 +2
Lines 3787 3821 +34
==========================================
+ Hits 3778 3816 +38
+ Misses 7 3 -4
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.