From e8b899d61fb06f8ee3a97b1894842697004d760f Mon Sep 17 00:00:00 2001 From: Friedrich Lindenberg Date: Wed, 17 Jul 2024 14:49:16 +0200 Subject: [PATCH] Actually await the end --- yente/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yente/app.py b/yente/app.py index dad5fae6..3d18322f 100644 --- a/yente/app.py +++ b/yente/app.py @@ -41,7 +41,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: if settings.AUTO_REINDEX: update_index_threaded() yield - close_provider() + await close_provider() async def request_middleware(