removed synchronization for check access on SEB ping

This commit is contained in:
anhefti 2023-05-25 16:15:36 +02:00
parent d63f25fb45
commit 314ce82c00

View file

@ -170,10 +170,8 @@ public class SEBClientSessionServiceImpl implements SEBClientSessionService {
private void processPing(final String connectionToken, final long timestamp, final int pingNumber) {
ClientConnectionDataInternal activeClientConnection = null;
synchronized (ExamSessionCacheService.CLIENT_CONNECTION_CREATION_LOCK) {
activeClientConnection = this.examSessionCacheService.getClientConnection(connectionToken);
}
final ClientConnectionDataInternal activeClientConnection = this.examSessionCacheService
.getClientConnection(connectionToken);
if (activeClientConnection != null) {
activeClientConnection.notifyPing(timestamp, pingNumber);