Skip to content

Commit

Permalink
Add lint comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davepeck committed Mar 30, 2024
1 parent a1ac7b6 commit 72d5322
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/asgi_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@


class NoLifespanUvicornWorker(UvicornWorker):
"""Worker that disables the lifespan protocol."""

CONFIG_KWARGS = {**UvicornWorker.CONFIG_KWARGS, "lifespan": "off"}

0 comments on commit 72d5322

Please sign in to comment.