quickfix engine c ++中的故障转移

时间:2017-02-02 08:56:04

标签: c++ quickfix fix-protocol

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

配置文件from quickfix engine page

  # 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

1 个答案:

答案 0 :(得分:1)

你有

ReconnectInterval=30

这可能是原因