Skip to content

Commit

Permalink
Removed reload warning
Browse files Browse the repository at this point in the history
  • Loading branch information
euri10 committed Jun 21, 2022
1 parent b0ac2ed commit 15877c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions uvicorn/loops/asyncio.py
Expand Up @@ -14,8 +14,4 @@ def asyncio_setup(
and sys.platform == "win32"
and any([reload, workers])
):
if reload:
logger.warning(
"The --reload flag should not be used in production on Windows."
)
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

0 comments on commit 15877c2

Please sign in to comment.