openvidu-server: shorter final userId (from 32 to 16 chars)
This commit is contained in:
parent
d22b3b0f5e
commit
87e39e8a01
@ -473,7 +473,7 @@ public abstract class SessionManager {
|
||||
sessionidAccumulatedRecordings.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);
|
||||
} else {
|
||||
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user