maxInactiveInterval of not Manager but the session is used.
If maxInactiveInterval is negative, an access message is not sending.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1025924 13f79535-47bb-0310-9956-
ffa450edef68
//check to see if we need to send out an access message
if (!expires && (msg == null)) {
long replDelta = System.currentTimeMillis() - session.getLastTimeReplicated();
- if (replDelta > (getMaxInactiveInterval() * 1000)) {
+ if (session.getMaxInactiveInterval() >=0 &&
+ replDelta > (session.getMaxInactiveInterval() * 1000)) {
counterSend_EVT_SESSION_ACCESSED++;
msg = new SessionMessageImpl(getName(),
SessionMessage.EVT_SESSION_ACCESSED,
<fix>
Add support for maxActiveSessions attributes to BackupManager. (kfujino)
</fix>
+ <fix>
+ Improve sending an access message in DeltaManager.
+ maxInactiveInterval of not Manager but the session is used.
+ If maxInactiveInterval is negative, an access message is not sending.
+ (kfujino)
+ </fix>
</changelog>
</subsection>
<subsection name="Web applications">