|
@@ -1856,7 +1856,7 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
|
}
|
|
|
|
|
|
examingHeartbeat.setCost(calcUsedExamSeconds(studentId));
|
|
|
- redisClient.set(examingHeartbeatKey, examingHeartbeat, OeConstants.TIME_OUT_7_DAY);//更新心跳缓存
|
|
|
+ redisClient.set(examingHeartbeatKey, examingHeartbeat, OeConstants.TIME_OUT_15_DAY);//更新心跳缓存
|
|
|
|
|
|
//设置并保存上次活动时间
|
|
|
setAndSaveActiveTime(examSessionInfo.getExamRecordDataId(), ip, fromBy);
|
|
@@ -1903,7 +1903,7 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
|
examingActiveTime.setActiveTime(System.currentTimeMillis());
|
|
|
examingActiveTime.setRealIp(ip);
|
|
|
|
|
|
- redisClient.set(examingActiveTimeKey, examingActiveTime, OeConstants.TIME_OUT_7_DAY);
|
|
|
+ redisClient.set(examingActiveTimeKey, examingActiveTime, OeConstants.TIME_OUT_15_DAY);
|
|
|
}
|
|
|
|
|
|
/**
|