Skip to content

Commit

Permalink
APPNG-2450 fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Müller authored and Matthias Müller committed Sep 14, 2022
1 parent 65aeba9 commit 8d9f0bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected List<Session> getSessionsFromManager(Request request, FieldProcessor f
}
}

} else if (maxSessions <= manager.getActiveSessions()) {
} else if (maxSessions >= manager.getActiveSessions()) {
for (org.apache.catalina.Session session : manager.findSessions()) {
Optional<Session> sessionMetaData = getSessionMetaData(session);
if (sessionMetaData.isPresent()) {
Expand Down

0 comments on commit 8d9f0bb

Please sign in to comment.