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

forwarding_client: use single session and close on shutdown #1006

Conversation

nosahama
Copy link
Contributor

About this change - What it does

We use a single client session for the forwarded requests and further close the session on application shutdown.

@nosahama nosahama requested review from a team as code owners December 10, 2024 13:53
@nosahama nosahama force-pushed the nosahama/EC-671/single-session-auth-forward-client branch from 4ebed19 to 6a21887 Compare December 10, 2024 13:54
@nosahama nosahama force-pushed the nosahama/EC-671/single-session-auth-forward-client branch from 6a21887 to cadc599 Compare December 10, 2024 14:02
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/karapace
  forward_client.py
  src/schema_registry
  factory.py 12, 42-45
Project Total  

This report was generated by python-coverage-comment-action

@jjaakola-aiven jjaakola-aiven merged commit ff29e64 into jjaakola-aiven-fastapi Dec 10, 2024
8 checks passed
@jjaakola-aiven jjaakola-aiven deleted the nosahama/EC-671/single-session-auth-forward-client branch December 10, 2024 14:40
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