Bladeren bron

增加计算进度通知

dsx 2 jaren geleden
bovenliggende
commit
3976ba6525

+ 8 - 0
src/main/java/com/fdkankan/contro/mq/service/impl/BuildSceneProgressServiceImpl.java

@@ -63,6 +63,14 @@ public class BuildSceneProgressServiceImpl implements IBuildSceneProgressService
         String website = scenePlusExt.getWebSite();
         String title = scenePlus.getTitle();
 
+        try {
+            log.info("fuck you start");
+            Thread.sleep(10000);
+            log.info("fuck you end");
+        } catch (InterruptedException e) {
+            e.printStackTrace();
+        }
+
         ExecutorService executor = ThreadUtil.newSingleExecutor();
         Future future = executor.submit(() -> {
             String projectJsonPath = path.concat(File.separator).concat("project.json");