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