Skip to content

Commit 803861c

Browse files
committed
Fixed NATS.
1 parent 02435a6 commit 803861c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • fastapi_template/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/services/nats

fastapi_template/template/{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/services/nats/lifespan.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ async def shutdown_nats(app: FastAPI) -> None: # pragma: no cover
2626
2727
:param app: current application.
2828
"""
29-
await app.state.nats.drain()
3029
await app.state.nats.shutdown()

0 commit comments

Comments
 (0)