Browse Source

修改线程数

yumeng 4 năm trước cách đây
mục cha
commit
3b2a43e72e

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/service/impl/KuaiShouBatchUpdateServiceImpl.java

@@ -20,7 +20,7 @@ import java.util.concurrent.Executors;
 public class KuaiShouBatchUpdateServiceImpl implements IKuaiShouBatchUpdateService {
     @Autowired
     private IKuaiShouGroupService groupService;
-    static ExecutorService executorService = Executors.newFixedThreadPool(40);
+    static ExecutorService executorService = Executors.newFixedThreadPool(20);
     @Autowired
     private IBatchService batchService;
     @Autowired