removed synchronization for check access on SEB ping
This commit is contained in:
parent
d63f25fb45
commit
314ce82c00
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue