Fix CTP vnctptd segfault restart loop by serializing reconnect.

Skip duplicate auto-connect when TD is logged in, stop aggressive query_position hooks, and throttle position refresh.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-26 00:49:17 +08:00
parent 9f48f22d16
commit 7133a0e448
4 changed files with 114 additions and 210 deletions
+1 -1
View File
@@ -758,7 +758,7 @@ def start_sl_tp_guard_worker(
from db_conn import connect_db
def _loop() -> None:
time.sleep(8)
time.sleep(20)
while True:
sleep_sec = max(1, interval)
try: