#
vincentlu
2025-05-13 ebd2f4397a92c6a5096de1b86d59154363344720
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/PathQueueConsumer.java
@@ -37,7 +37,7 @@
        this.consumerExecutor.execute(() -> {
            while (!Thread.currentThread().isInterrupted()) {
                try {
                    Thread.sleep(30);
                    Thread.sleep(10);
                    List<UnlockPathTask> tasks = new ArrayList<>();
                    // if unlockTaskQueue was empty, then block
                    tasks.add(unlockTaskQueue.take());
@@ -50,7 +50,7 @@
                        if (tasks.size() == 1) {
                            resetCodeIdxList = this.getResetCodeList(lev, tasks.get(0));
                        } else if (tasks.size() > 1) {
                            log.info("consumer task count:{}", tasks.size());
//                            log.info("consumer task count:{}", tasks.size());
                            resetCodeIdxList = this.getResetCodeList(lev,tasks);
                        }
@@ -58,7 +58,7 @@
                            this.dealResetCodeList(lev, resetCodeIdxList);
                        }
                        log.info("consumer unlock path spend time:{}", System.currentTimeMillis() - startTime);
//                        log.info("consumer unlock path spend time:{}", System.currentTimeMillis() - startTime);
                    }
                } catch (InterruptedException e) {