Skip to content

Commit

Permalink
#519 - Update logic to cover non-stop sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
colinduplantis committed Sep 16, 2021
1 parent dd57af1 commit 941eef3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,14 @@ public boolean isSessionTime(SessionID inSessionId)
result = false;
return result;
}
String rawNonStopSession = StringUtils.trimToNull(session.getSessionSettings().get(quickfix.Session.SETTING_NON_STOP_SESSION));
if(rawNonStopSession != null) {
boolean nonStopSession = StringUtils.equalsIgnoreCase(rawNonStopSession,"Y");
if(nonStopSession) {
result = true;
return result;
}
}
String rawDaysValue = StringUtils.trimToNull(session.getSessionSettings().get(BrokerConstants.sessionDaysKey));
if(rawDaysValue == null) {
SLF4JLoggerProxy.debug(this,
Expand Down

0 comments on commit 941eef3

Please sign in to comment.