|
@@ -65,7 +65,7 @@ public class BytedancePushDataController {
|
|
|
if (!Check.isNull(content)) {
|
|
if (!Check.isNull(content)) {
|
|
|
JSONArray idArr = content.getJSONArray("promotion_ids");
|
|
JSONArray idArr = content.getJSONArray("promotion_ids");
|
|
|
List<Long> idList = JSONArray.parseArray(idArr.toJSONString(), Long.class);
|
|
List<Long> idList = JSONArray.parseArray(idArr.toJSONString(), Long.class);
|
|
|
- List<List<Long>> moreList = Lists.partition(idList, 100);
|
|
|
|
|
|
|
+ List<List<Long>> moreList = Lists.partition(idList, 20);
|
|
|
for (List<Long> ids : moreList) {
|
|
for (List<Long> ids : moreList) {
|
|
|
projectExecutorService.submit(new Runnable() {
|
|
projectExecutorService.submit(new Runnable() {
|
|
|
@Override
|
|
@Override
|