|
@@ -202,9 +202,9 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
|
|
|
|
message.getBuildContext().put("cameraType",message.getCameraType());
|
|
message.getBuildContext().put("cameraType",message.getCameraType());
|
|
|
|
|
|
- // TODO: 2024/1/26
|
|
|
|
- // 查询数据表,判断是否需要发送到特定的队列,并启动弹性伸缩
|
|
|
|
- if("特殊队列"){
|
|
|
|
|
|
+ //查询是否超过比例50%,如果超过,则启动128G服务器弹性伸缩
|
|
|
|
+ Integer scale = fdageJson.getInteger("");
|
|
|
|
+ if(scale > 50){
|
|
|
|
|
|
if("是否马上启动弹性伸缩"){
|
|
if("是否马上启动弹性伸缩"){
|
|
String result = scalingService.createEcs("查库中查出来的id");
|
|
String result = scalingService.createEcs("查库中查出来的id");
|