Skip to content

Commit

Permalink
TEIID-2996 reverting the default to 5 missed pings
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Jun 16, 2014
1 parent 18b6db8 commit 2388ca0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -109,7 +109,7 @@ private void monitorSessions() {
long currentTime = System.currentTimeMillis();
for (SessionMetadata info : sessionCache.values()) {
try {
if (CHECK_PING && !info.isEmbedded() && currentTime - info.getLastPingTime() > ServerConnection.PING_INTERVAL * 3) {
if (CHECK_PING && !info.isEmbedded() && currentTime - info.getLastPingTime() > ServerConnection.PING_INTERVAL * 5) {
LogManager.logInfo(LogConstants.CTX_SECURITY, RuntimePlugin.Util.gs(RuntimePlugin.Event.TEIID40007, info.getSessionId()));
closeSession(info.getSessionId());
} else if (sessionExpirationTimeLimit > 0 && currentTime - info.getCreatedTime() > sessionExpirationTimeLimit) {
Expand Down

0 comments on commit 2388ca0

Please sign in to comment.