perf(notes): Improve notes search performance using async iterators

This commit is contained in:
Chris Coutinho
2025-10-18 22:02:19 +02:00
parent 955ad78f13
commit 83917b3786
10 changed files with 23 additions and 28 deletions
+1
View File
@@ -97,6 +97,7 @@ async def create_mcp_client_session(
finally:
# Clean up in reverse order, ignoring task scope issues
# See: https://github.com/modelcontextprotocol/python-sdk/issues/577
if session_context is not None:
try:
await session_context.__aexit__(None, None, None)