Projects tigase _server server-core Issues #910
s2s maxInactivityTime is 0 (#910)
Closed
wojciech.kapcia@tigase.net opened 7 years ago
Testing service: CID: (…), jid: null, sinceLastTransfer: 2,458, maxInactivityTime: 0, watchdogTimeout: 1,740,000, watchdogDelay: 600,000,
wojciech.kapcia@tigase.net commented 7 years ago

The issue was caused by the calling .getMaxInactiveTime() to set the value of @private long maxInactivityTime = getMaxInactiveTime(); in ConnectionManager. However in case of S2SConnectionManager@, when it was constructed with default constructor it called @.super() so the tigase.server.xmppserver.S2SConnectionManager#getMaxInactiveTime got called returning private variable maxInactivityTime in S2SConnectionManager before it's value was correctly initialised.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
6507
Version
tigase-server-8.0.0
Spent time
5h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#910
Please wait...
Page is in error, reload to recover