|
@@ -42,7 +42,7 @@ public class KuaishouNowDateGroupJob implements Job {
|
|
SimpleDateFormat sim = new SimpleDateFormat("yyyy-MM-dd");
|
|
SimpleDateFormat sim = new SimpleDateFormat("yyyy-MM-dd");
|
|
Date startDate = sim.parse(anotherDay);
|
|
Date startDate = sim.parse(anotherDay);
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
List<CtopOauthToken> tokens = tokenService.getTokenListByType(CtopAdConstant.PLATFORM_TYPE_KUAISHOU);
|
|
- executorService = Executors.newFixedThreadPool(8);
|
|
|
|
|
|
+ executorService = Executors.newFixedThreadPool(5);
|
|
tokens.forEach(token -> {
|
|
tokens.forEach(token -> {
|
|
executorService.submit(new Runnable() {
|
|
executorService.submit(new Runnable() {
|
|
@Override
|
|
@Override
|