mirror of https://github.com/OpenVidu/openvidu.git
commented empty session deletion
parent
3e95c702d0
commit
9baff15b65
|
@ -270,10 +270,10 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
if (session.isClosed()) {
|
if (session.isClosed()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
log.info("No more participants in session '{}', removing it and closing it",
|
// log.info("No more participants in session '{}', removing it and closing it",
|
||||||
sessionId);
|
// sessionId);
|
||||||
this.closeSessionAndEmptyCollections(session, reason, true);
|
// this.closeSessionAndEmptyCollections(session, reason, true);
|
||||||
sessionClosedByLastParticipant = true;
|
// sessionClosedByLastParticipant = true;
|
||||||
} finally {
|
} finally {
|
||||||
session.closingLock.writeLock().unlock();
|
session.closingLock.writeLock().unlock();
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,6 @@ public class SessionRestController {
|
||||||
|
|
||||||
log.info("REST API: POST {}/sessions {}", RequestMappings.API, params != null ? params.toString() : "{}");
|
log.info("REST API: POST {}/sessions {}", RequestMappings.API, params != null ? params.toString() : "{}");
|
||||||
String remoteAddress = request.getHeader("X-Forwarded-For");
|
String remoteAddress = request.getHeader("X-Forwarded-For");
|
||||||
log.info("###### REMOTE ADDRESS {}", remoteAddress);
|
|
||||||
SessionProperties sessionProperties;
|
SessionProperties sessionProperties;
|
||||||
try {
|
try {
|
||||||
sessionProperties = getSessionPropertiesFromParams(params).build();
|
sessionProperties = getSessionPropertiesFromParams(params).build();
|
||||||
|
|
Loading…
Reference in New Issue