We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently in our fasthtml demo app, each call to Vespa uses the pattern
async def get_something_from_vespa(self, doc_id: str) -> str: async with self.app.asyncio(connections=1) as session: ...
This ends up opening a new connection, doing TLS handshake for every request.
Quoting the doc, the session "should be used as a session manager" but this means we can't really store and reuse it.
Perhaps we can pass a httpx client which can be (re)used for the session?
The text was updated successfully, but these errors were encountered:
thomasht86
No branches or pull requests
Currently in our fasthtml demo app, each call to Vespa uses the pattern
This ends up opening a new connection, doing TLS handshake for every request.
Quoting the doc, the session "should be used as a session manager" but this means we can't really store and reuse it.
Perhaps we can pass a httpx client which can be (re)used for the session?
The text was updated successfully, but these errors were encountered: