removed sync again (seems to has no effect)
This commit is contained in:
parent
5dc85f9e73
commit
933ddaa4d3
2 changed files with 3 additions and 12 deletions
|
@ -160,11 +160,8 @@ public class SEBClientEventBatchService {
|
||||||
return eventData;
|
return eventData;
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientConnectionDataInternal clientConnection = null;
|
final ClientConnectionDataInternal clientConnection = this.examSessionCacheService
|
||||||
//synchronized (ExamSessionCacheService.CLIENT_CONNECTION_CREATION_LOCK) {
|
|
||||||
clientConnection = this.examSessionCacheService
|
|
||||||
.getClientConnection(eventData.connectionToken);
|
.getClientConnection(eventData.connectionToken);
|
||||||
//}
|
|
||||||
|
|
||||||
if (clientConnection == null) {
|
if (clientConnection == null) {
|
||||||
log.error("Failed to get ClientConnectionDataInternal for: {}", eventData.connectionToken);
|
log.error("Failed to get ClientConnectionDataInternal for: {}", eventData.connectionToken);
|
||||||
|
@ -207,11 +204,8 @@ public class SEBClientEventBatchService {
|
||||||
private ClientEventRecord toEventRecord(final EventData eventData) {
|
private ClientEventRecord toEventRecord(final EventData eventData) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ClientConnectionDataInternal clientConnection = null;
|
final ClientConnectionDataInternal clientConnection = this.examSessionCacheService
|
||||||
//synchronized (ExamSessionCacheService.CLIENT_CONNECTION_CREATION_LOCK) {
|
|
||||||
clientConnection = this.examSessionCacheService
|
|
||||||
.getClientConnection(eventData.connectionToken);
|
.getClientConnection(eventData.connectionToken);
|
||||||
//}
|
|
||||||
|
|
||||||
if (clientConnection == null) {
|
if (clientConnection == null) {
|
||||||
log.warn("Failed to retrieve ClientConnection for token {}. Skip this event",
|
log.warn("Failed to retrieve ClientConnection for token {}. Skip this event",
|
||||||
|
|
|
@ -91,11 +91,8 @@ public class SEBClientPingBatchService {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientConnectionDataInternal activeClientConnection = null;
|
final ClientConnectionDataInternal activeClientConnection = this.examSessionCacheService
|
||||||
//synchronized (ExamSessionCacheService.CLIENT_CONNECTION_CREATION_LOCK) {
|
|
||||||
activeClientConnection = this.examSessionCacheService
|
|
||||||
.getClientConnection(connectionToken);
|
.getClientConnection(connectionToken);
|
||||||
//}
|
|
||||||
|
|
||||||
if (activeClientConnection != null) {
|
if (activeClientConnection != null) {
|
||||||
activeClientConnection.notifyPing(timestamp);
|
activeClientConnection.notifyPing(timestamp);
|
||||||
|
|
Loading…
Reference in a new issue