Skip to content

Commit

Permalink
Actually await the end
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Jul 17, 2024
1 parent 520f44d commit e8b899d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yente/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e8b899d

Please sign in to comment.