liurunyu
2024-10-24 d8f7aad48d36ef47ab97c155a014e00c52533fd5
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) ;