Closed bednar closed 9 months ago
Attention: 5 lines
in your changes are missing coverage. Please review.
Comparison is base (
997599d
) 88.39% compared to head (964e316
) 88.35%.
Files | Patch % | Lines |
---|---|---|
...om/influxdb/rest/ConnectionClosingInterceptor.java | 75.00% | 2 Missing and 3 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Proposed Changes
This PR introduces the
ConnectionClosingInterceptor
.This interceptor closes connections that exceed a specified maximum lifetime age (TTL). It's beneficial for scenarios where your application requires establishing new connections to the same host after a predetermined interval. This interceptor is most effective in applications that use a single connection, meaning requests are not made in parallel.
Checklist
mvn test
completes successfully