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:
+1
-1
@@ -11,7 +11,7 @@ from vnpy_bridge import ctp_try_auto_reconnect
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
RECONNECT_INTERVAL_SEC = 10
|
||||
RECONNECT_INTERVAL_SEC = 60
|
||||
|
||||
|
||||
def _auto_reconnect_enabled() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user