Browse Source

taskInstance variables add volatile

pull/2/head
qiaozhanwei 5 years ago
parent
commit
5af90ba185
  1. 2
      escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java

2
escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java

@ -82,7 +82,7 @@ public class FetchTaskThread implements Runnable{
/**
* task instance
*/
private TaskInstance taskInstance;
private volatile TaskInstance taskInstance;
/**
* task instance id

Loading…
Cancel
Save