|
@@ -101,8 +101,14 @@ public class BuildSceneProgressServiceImpl implements IBuildSceneProgressService
|
|
|
complete = state.getBoolean("done");
|
|
|
log.info("计算完成状态:{}", complete);
|
|
|
if (Objects.isNull(totalTime)) {
|
|
|
- totalTime = state.getLong("expect_time") + buildProgressTime;
|
|
|
- redisUtil.set(String.format(RedisKey.SCENE_BUILD_EXPECT_TOTAL_TIME_NUM, num), String.valueOf(totalTime), RedisKey.CAMERA_EXPIRE_7_TIME);
|
|
|
+ try {
|
|
|
+ log.info("计算总时间开始。。。。");
|
|
|
+ totalTime = state.getLong("expect_time") + buildProgressTime;
|
|
|
+ redisUtil.set(String.format(RedisKey.SCENE_BUILD_EXPECT_TOTAL_TIME_NUM, num), String.valueOf(totalTime), RedisKey.CAMERA_EXPIRE_7_TIME);
|
|
|
+ log.info("计算总时间结束。。。。");
|
|
|
+ }catch (Exception e){
|
|
|
+ log.info("这里报错了,你麻痹。。。。。");
|
|
|
+ }
|
|
|
}
|
|
|
if (complete) {
|
|
|
mainProgress = 90;
|