From 9baff15b65151791bdafb28934cfcc679f95e16d Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Tue, 29 Dec 2020 05:58:28 +0530 Subject: [PATCH] commented empty session deletion --- .../server/kurento/core/KurentoSessionManager.java | 8 ++++---- .../io/openvidu/server/rest/SessionRestController.java | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java b/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java index 90184c69..e3f9448e 100644 --- a/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java +++ b/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java @@ -270,10 +270,10 @@ public class KurentoSessionManager extends SessionManager { if (session.isClosed()) { return false; } - log.info("No more participants in session '{}', removing it and closing it", - sessionId); - this.closeSessionAndEmptyCollections(session, reason, true); - sessionClosedByLastParticipant = true; + // log.info("No more participants in session '{}', removing it and closing it", + // sessionId); + // this.closeSessionAndEmptyCollections(session, reason, true); + // sessionClosedByLastParticipant = true; } finally { session.closingLock.writeLock().unlock(); } diff --git a/openvidu-server/src/main/java/io/openvidu/server/rest/SessionRestController.java b/openvidu-server/src/main/java/io/openvidu/server/rest/SessionRestController.java index 44b1f0cc..07ea0c06 100644 --- a/openvidu-server/src/main/java/io/openvidu/server/rest/SessionRestController.java +++ b/openvidu-server/src/main/java/io/openvidu/server/rest/SessionRestController.java @@ -102,7 +102,6 @@ public class SessionRestController { log.info("REST API: POST {}/sessions {}", RequestMappings.API, params != null ? params.toString() : "{}"); String remoteAddress = request.getHeader("X-Forwarded-For"); - log.info("###### REMOTE ADDRESS {}", remoteAddress); SessionProperties sessionProperties; try { sessionProperties = getSessionPropertiesFromParams(params).build();