fix: 重启后立即读库展示持仓,CTP异步重连不再阻塞
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -76,7 +76,6 @@ def start_position_worker(
|
||||
"""后台定时刷新持仓快照并 SSE 广播。"""
|
||||
|
||||
def _loop() -> None:
|
||||
time.sleep(3)
|
||||
while True:
|
||||
sleep_sec = idle_interval
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user