This commit is contained in:
AKurakin 2025-05-05 19:15:07 +03:00
parent 6b6bbecea2
commit 99198bce9b

View file

@ -100,6 +100,7 @@ public class AmatAmafChecker extends QueueConsumer implements InitializingBean {
} else {
log.debug("Selecting {} AM_T and by tradingClearingRegistry and securitySymbol AM_F for his.", specialId);
long timer = System.currentTimeMillis();
specialId = specialId.stream().distinct().collect(Collectors.toList()); // deduplicate
checkRegistries = new ArrayList<>(specialId.size() * 2);
for (Long am_tId : specialId) {
if (am_tId == null) { // never