mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix(plugin): 收敛市场安装与运行态错误处理 (#6470)
This commit is contained in:
@@ -114,6 +114,13 @@ def run_api_server() -> None:
|
||||
host=get_runtime_setting('HOST'),
|
||||
port=get_runtime_setting('PORT'),
|
||||
reload=get_runtime_setting('DEV'),
|
||||
# 运行插件及其恢复材料由插件生命周期管理,不属于宿主源码变更。
|
||||
reload_excludes=[
|
||||
str(get_runtime_setting('ROOT_PATH') / "app" / "plugins"),
|
||||
str(get_runtime_setting('CONFIG_PATH')),
|
||||
]
|
||||
if get_runtime_setting('DEV')
|
||||
else None,
|
||||
workers=get_runtime_setting('API_WORKERS'),
|
||||
timeout_graceful_shutdown=60,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user