a
This commit is contained in:
parent
8e58443510
commit
79f7d0edc8
|
|
@ -168,10 +168,7 @@ def _get_trading_config():
|
|||
"""获取交易配置(支持动态重载,优先从Redis读取最新值)"""
|
||||
if _config_manager:
|
||||
# 从Redis重新加载配置(轻量级,只从Redis读取,不查数据库)
|
||||
<<<<<<< Current (Your changes)
|
||||
=======
|
||||
# 注意:如果Redis不可用或没有数据,reload_from_redis()会保持现有缓存,不会触发数据库加载
|
||||
>>>>>>> Incoming (Background Agent changes)
|
||||
_config_manager.reload_from_redis()
|
||||
return _config_manager.get_trading_config()
|
||||
# 回退到默认配置
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user