mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor(config): retire RuntimeSettingsCompat host usage
This commit is contained in:
@@ -123,7 +123,7 @@ def decide_monitor_mode(directory: Path,
|
||||
|
||||
# 检查网络文件系统
|
||||
if SystemUtils.is_network_filesystem(directory):
|
||||
if not get_runtime_setting("MONITOR_NETWORK_FAST_MODE"):
|
||||
if not get_runtime_setting('MONITOR_NETWORK_FAST_MODE'):
|
||||
return True, "检测到网络文件系统,建议使用兼容模式", None, None
|
||||
# 用户已确认该挂载支持 inotify,继续走快速模式的系统限制检查
|
||||
logger.info(f"检测到网络文件系统,但已配置允许快速模式: {directory}")
|
||||
|
||||
Reference in New Issue
Block a user