Update SessionPersistentRegistry.java

This commit is contained in:
Ludy87 2025-03-24 00:50:18 +01:00
parent cedda44bb0
commit 3bb1bfa399
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -194,6 +194,14 @@ public class SessionPersistentRegistry implements SessionRegistry {
if (runningEE) {
return Integer.MAX_VALUE;
}
return 30;
return getMaxUserSessions() * 10;
}
// Get the maximum number of user sessions
public int getMaxUserSessions() {
if (runningEE) {
return Integer.MAX_VALUE;
}
return 3;
}
}