REQ-2481: 添加删除日志表的job
This commit is contained in:
parent
024ce3dca5
commit
4ad9595c8d
@ -111,6 +111,8 @@ public class SendQueue {
|
||||
.computeIfAbsent(batchNo, unused -> new ArrayList<>());
|
||||
batchRecords.add(record);
|
||||
}
|
||||
if (batchNo2Records.isEmpty())
|
||||
return Collections.emptyList();
|
||||
List<List<Record>> groups = new ArrayList<>(batchNo2Records.values());
|
||||
groups.sort(Comparator.comparingInt(List::size));
|
||||
// a batch that has max records
|
||||
|
||||
Loading…
Reference in New Issue
Block a user