|
@@ -5,6 +5,7 @@ import com.gyee.impala.model.master.Casefaultalg;
|
|
|
import com.gyee.impala.service.master.CasefaultalgService;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -23,7 +24,7 @@ public class TaskStatistic {
|
|
|
/**
|
|
|
* 统计算法准确率
|
|
|
*/
|
|
|
- //@Scheduled(initialDelay = 60 * 1000, fixedRate = 1 * 60 * 60 * 1000)
|
|
|
+ @Scheduled(initialDelay = 60 * 1000, fixedRate = 1 * 60 * 60 * 1000)
|
|
|
public void accuracyStatisticTask() {
|
|
|
if (0 == InitialRunner.historyList.size())
|
|
|
return;
|