|
@@ -97,7 +97,7 @@ public class RoomServiceImpl implements RoomService {
|
|
|
}
|
|
|
}*/
|
|
|
|
|
|
- public synchronized void joinRoomSuccess(RoomMember roomMember) throws Exception {
|
|
|
+ public void joinRoomSuccess(RoomMember roomMember) throws Exception {
|
|
|
String roomId = roomMember.getRid();
|
|
|
String userId = roomMember.getUid();
|
|
|
Long registrationId = roomMember.getExamRegistrationId();
|
|
@@ -128,8 +128,8 @@ public class RoomServiceImpl implements RoomService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @Transactional(rollbackFor = Exception.class, isolation = Isolation.SERIALIZABLE)
|
|
|
- public synchronized BaseResponse joinRoom(Long registrationId, String roomId){
|
|
|
+ @Transactional(rollbackFor = Exception.class, isolation = Isolation.READ_COMMITTED)
|
|
|
+ public BaseResponse joinRoom(Long registrationId, String roomId){
|
|
|
StudentExamApiDto examResult = null;
|
|
|
log.info("joinRoom: roomId={}, registrationId={}", roomId,registrationId);
|
|
|
|