mirror of https://github.com/OpenVidu/openvidu.git
Put SessionProperties into Storage if a new session is created in the KurentoSessionManager
parent
5be0d7c660
commit
32329e1177
|
@ -447,6 +447,7 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
kcProvider.destroyWhenUnused(), this.CDR, this.openviduConfig);
|
kcProvider.destroyWhenUnused(), this.CDR, this.openviduConfig);
|
||||||
|
|
||||||
KurentoSession oldSession = (KurentoSession) this.sessionStorage.putSessionIfAbsent(sessionId, session);
|
KurentoSession oldSession = (KurentoSession) this.sessionStorage.putSessionIfAbsent(sessionId, session);
|
||||||
|
this.sessionStorage.putSessionPropertiesIfAbsent(sessionId, sessionProperties);
|
||||||
if (oldSession != null) {
|
if (oldSession != null) {
|
||||||
log.warn("Session '{}' has just been created by another thread", sessionId);
|
log.warn("Session '{}' has just been created by another thread", sessionId);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue