following-fixes+fmt
All checks were successful
Deploy on push / deploy (push) Successful in 6s

This commit is contained in:
2024-11-02 12:09:24 +03:00
parent 09a6d085fd
commit 11611fd577
8 changed files with 73 additions and 81 deletions

View File

@@ -86,11 +86,7 @@ async def lifespan(app):
)
yield
finally:
tasks = [
redis.disconnect(),
ViewedStorage.stop(),
revalidation_manager.stop()
]
tasks = [redis.disconnect(), ViewedStorage.stop(), revalidation_manager.stop()]
await asyncio.gather(*tasks, return_exceptions=True)