yumeng 1 год назад
Родитель
Сommit
871bf025c5

+ 2 - 1
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/handler/BytedanceAccountReportJob.java

@@ -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);