|
@@ -42,7 +42,7 @@ public class KuaishouCreativeLoadJob implements Job {
|
|
Date endDate = new Date();
|
|
Date endDate = new Date();
|
|
//1:查询当日数据
|
|
//1:查询当日数据
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
- executorService = Executors.newFixedThreadPool(5);
|
|
|
|
|
|
+ executorService = Executors.newFixedThreadPool(3);
|
|
tokens.forEach(token -> {
|
|
tokens.forEach(token -> {
|
|
executorService.submit(new Runnable() {
|
|
executorService.submit(new Runnable() {
|
|
@Override
|
|
@Override
|