[QFJ-419] Reconnect Interval: set different interval values Created: 18/Mar/09  Updated: 15/Nov/12  Resolved: 25/Jan/10

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.4.0
Fix Version/s: 1.5.0

Type: Improvement Priority: Default
Reporter: Paul-Henri Giraud Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to QFJ-632 isTimeToGenerateLogon() in Session al... Resolved
relates to QFJ-665 "Dangling meta character '*' near ind... Resolved

 Description   

The ReconnectInterval setting is currently a simple value, in seconds, e.g. 5. That means that the socket will try to connect each five seconds.
If the distant server never respond, this can lead to a huge amount of tries, processing and resource usage.
The tries interval should be short in the beginning, then get longer.

Here is an example of syntax that could be set instead of a simple value:
ReconnectInterval=6*5;5*15;60
This means that the connect will be tried 6 times each 5 seconds, then 5 times each 15 seconds then each 60 seconds.

Setting a simple value such as:
ReconnectInterval=30
will result in trying each 30 seconds as before.



 Comments   
Comment by Steve Bate [ 25/Jan/10 ]

SVN #928

Generated at Sat Nov 23 10:40:27 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.