快速修复引擎 C++ 中的故障转移

failover in quickfix engine c++

本文关键字:故障 转移 C++ 引擎      更新时间:2023-10-16

在故障转移期间,当修复尝试连接sockethost1:socketport1而不是sockethost:socketport时,为什么它总是在中间等待30秒以及如何减少这个时间。

快速修复引擎页中的配置文件

  # default settings for sessions
[DEFAULT]
ConnectionType=initiator
ReconnectInterval=60
SenderCompID=TW
[SESSION]
BeginString=FIX.4.2
TargetCompID=INCA
StartTime=12:30:00
EndTime=21:30:00
# overide default setting for RecconnectInterval
ReconnectInterval=30
HeartBtInt=30
SocketConnectPort=6523
SocketConnectHost=3.3.3.3
# (optional) alternate connection ports and hosts to cycle through on failover
SocketConnectPort1=8392
SocketConnectHost1=8.8.8.8
SocketConnectPort2=2932
SocketConnectHost2=12.12.12.12
DataDictionary=somewhere/FIX42.xml

你有

ReconnectInterval=30

这可能就是原因