Commit cd0f3f53 authored by linpeiqin's avatar linpeiqin

没初始化值

parent 503961b2
...@@ -62,7 +62,7 @@ public class TuningRunServiceImpl extends BaseService<TuningRun, Long> implement ...@@ -62,7 +62,7 @@ public class TuningRunServiceImpl extends BaseService<TuningRun, Long> implement
@Autowired @Autowired
private PythonConfig pythonConfig; private PythonConfig pythonConfig;
private AtomicInteger isSuccess; private AtomicInteger isSuccess = new AtomicInteger(0);
/** /**
...@@ -242,7 +242,7 @@ public class TuningRunServiceImpl extends BaseService<TuningRun, Long> implement ...@@ -242,7 +242,7 @@ public class TuningRunServiceImpl extends BaseService<TuningRun, Long> implement
} }
log.info("发送服务端的消息:" + sendJson.toJSONString()); log.info("发送服务端的消息:" + sendJson.toJSONString());
if (receiveMsg.equals("process_completed")) { if (receiveMsg.equals("process_completed")) {
this.close(); // this.close();
if (receiveJson.getBoolean("success")){ if (receiveJson.getBoolean("success")){
isSuccess.set(1); isSuccess.set(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment