|
@@ -318,7 +318,7 @@ public class RabbitMqListener {
|
|
Long building = redisUtil.incr(key, 1);
|
|
Long building = redisUtil.incr(key, 1);
|
|
buildLogService.save(buildLog);
|
|
buildLogService.save(buildLog);
|
|
if (building.compareTo(1L) > 0) {
|
|
if (building.compareTo(1L) > 0) {
|
|
- log.error("服务:{},重复构建:{}", SysConstants.hostName, buildLog.getSceneNum());
|
|
|
|
|
|
+ log.error("服务:{},重复构建:{},构建次数:{}", SysConstants.hostName, buildLog.getSceneNum(),building);
|
|
throw new BuildException(ModelingBuildStatus.REPEAT);
|
|
throw new BuildException(ModelingBuildStatus.REPEAT);
|
|
} else {
|
|
} else {
|
|
redisUtil.expire(key, SysConstants.modelTimeOut);
|
|
redisUtil.expire(key, SysConstants.modelTimeOut);
|