wangyunpeng há 1 semana atrás
pai
commit
4f87c4c30c

+ 1 - 1
api-module/src/main/java/com/tzld/piaoquan/api/job/wecom/thirdpart/WeComSendMsgJob.java

@@ -75,7 +75,7 @@ public class WeComSendMsgJob {
     private List<Long> autoOpenStaffList;
 
     private final static ExecutorService pool = new ThreadPoolExecutor(5, 5, 0L, TimeUnit.SECONDS,
-            new LinkedBlockingQueue<>(1000),
+            new LinkedBlockingQueue<>(),
             new ThreadFactoryBuilder().setNameFormat("WeComSendMsgJob-%d").build(),
             new ThreadPoolExecutor.AbortPolicy());