|
|
@@ -32,6 +32,7 @@ public class BytedanceAccountReportJob {
|
|
|
|
|
|
|
|
|
private static ExecutorService hourExecutorService = Executors.newFixedThreadPool(2);
|
|
|
+ private static ExecutorService dailyExecutorService = Executors.newFixedThreadPool(2);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -79,7 +80,7 @@ public class BytedanceAccountReportJob {
|
|
|
String[] s = param.split("_");
|
|
|
Long advertiserId = Long.valueOf(s[0]);
|
|
|
String accessToken = s[1];
|
|
|
- hourExecutorService.submit(new Runnable() {
|
|
|
+ dailyExecutorService.submit(new Runnable() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
accountReportService.getBytedanceAccountDaily(advertiserId, accessToken, nowDate, nowDate, 1, 1);
|