|
@@ -32,7 +32,7 @@ public class KuaishouCampaignGroupJob implements Job {
|
|
|
public void run() {
|
|
|
//1:查询当日数据
|
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
|
- executorService = Executors.newFixedThreadPool(8);
|
|
|
+ executorService = Executors.newFixedThreadPool(4);
|
|
|
tokens.forEach(token -> {
|
|
|
executorService.submit(new Runnable() {
|
|
|
@Override
|