mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:27:33 +08:00
Opt: Set reload checker delay to 1
This commit is contained in:
parent
7c31ddc04c
commit
1531808b6f
2
gui.py
2
gui.py
@ -87,7 +87,7 @@ def run_with_reload(host, port):
|
||||
uvicorn module.webui.app:app --factory --host 127.0.0.1 --port 22267 --reload --reload-include="reloadflag" --reload-exclude="*.py" --reload-dir="./config/"
|
||||
"""
|
||||
uvicorn.run('module.webui.app:app', host=host, port=port, factory=True, reload_dirs=[os.path.join(os.getcwd(), './config/')],
|
||||
reload=True, reload_includes=['reloadflag'], reload_excludes=['*.py'])
|
||||
reload=True, reload_includes=['reloadflag'], reload_excludes=['*.py'], reload_delay=1)
|
||||
|
||||
|
||||
def run_without_reload(host, port):
|
||||
|
Loading…
Reference in New Issue
Block a user