mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: shorter final userId (from 32 to 16 chars)
parent
d22b3b0f5e
commit
87e39e8a01
|
@ -473,7 +473,7 @@ public abstract class SessionManager {
|
||||||
sessionidAccumulatedRecordings.remove(session.getSessionId());
|
sessionidAccumulatedRecordings.remove(session.getSessionId());
|
||||||
sessionidTokenTokenobj.remove(session.getSessionId());
|
sessionidTokenTokenobj.remove(session.getSessionId());
|
||||||
|
|
||||||
log.warn("Session '{}' removed and closed", session.getSessionId());
|
log.info("Session '{}' removed and closed", session.getSessionId());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,7 +249,8 @@ public class RpcHandler extends DefaultJsonRpcHandler<JsonObject> {
|
||||||
clientMetadata);
|
clientMetadata);
|
||||||
} else {
|
} else {
|
||||||
participant = sessionManager.newParticipant(sessionId, participantPrivatetId, tokenObj,
|
participant = sessionManager.newParticipant(sessionId, participantPrivatetId, tokenObj,
|
||||||
clientMetadata, location, platform, httpSession.getId());
|
clientMetadata, location, platform,
|
||||||
|
httpSession.getId().substring(0, Math.min(16, httpSession.getId().length())));
|
||||||
}
|
}
|
||||||
|
|
||||||
rpcConnection.setSessionId(sessionId);
|
rpcConnection.setSessionId(sessionId);
|
||||||
|
|
Loading…
Reference in New Issue