Administrator
2024-07-24 f844554d994465a14e93b0334c2677a37876d7eb
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/schedulerTask/SchedulerTaskFactory.java
@@ -61,11 +61,6 @@
            if(threadPoolPriority != null && threadPoolPriority.intValue() >= 0){
               pro.put("org.quartz.threadPool.threadPriority", "" + (threadPoolPriority==null?5:(threadPoolPriority<=0?5:threadPoolPriority)));
            }
            if(threadPoolMaxCount != null && threadPoolPriority != null){
               if(threadPoolMaxCount.intValue() < threadPoolPriority.intValue()){
                  throw new SchedulerException("threadPoolMaxCount必须大于等于threadPoolPriority") ;
               }
            }
            scheduler = new StdSchedulerFactory(pro).getScheduler();
         } catch (SchedulerException e) {
            log.error(e) ;