Skip to content

Commit 4dd8966

Browse files
committed
Close reload...
1 parent 51b346b commit 4dd8966

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def run_server():
158158
interface="asgi",
159159
address="0.0.0.0",
160160
port=settings.LISTEN_PORT,
161-
reload=True, # 生产环境请关闭热重载
161+
reload=False, # 生产环境请关闭热重载
162162
process_name=service_name, # 设置进程名称
163163
**RELOAD_CONFIG, # 热重载配置
164164
).serve()

0 commit comments

Comments
 (0)