|
@@ -145,7 +145,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
|
|
|
} else {
|
|
|
|
|
|
List<Future<AdRankItem>> futures = new ArrayList<>();
|
|
|
- CountDownLatch cdl1 = new CountDownLatch(adRankItems.size());
|
|
|
+ CountDownLatch cdl1 = new CountDownLatch(request.getAdIdList().size());
|
|
|
for (AdPlatformCreativeDTO dto : request.getAdIdList()) {
|
|
|
Future<AdRankItem> future = ThreadPoolFactory.defaultPool().submit(() -> {
|
|
|
AdRankItem adRankItem = new AdRankItem();
|