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) { private void processPing(final String connectionToken, final long timestamp, final int pingNumber) {
ClientConnectionDataInternal activeClientConnection = null; final ClientConnectionDataInternal activeClientConnection = this.examSessionCacheService
synchronized (ExamSessionCacheService.CLIENT_CONNECTION_CREATION_LOCK) { .getClientConnection(connectionToken);
activeClientConnection = this.examSessionCacheService.getClientConnection(connectionToken);
}
if (activeClientConnection != null) { if (activeClientConnection != null) {
activeClientConnection.notifyPing(timestamp, pingNumber); activeClientConnection.notifyPing(timestamp, pingNumber);