|
|
@@ -215,7 +215,7 @@ public class TradeAuctionService {
|
|
|
tradeAuctionStatuses.add(TradeAuctionStatus.PURCHASED);
|
|
|
List<TradeAuction> tradeAuctions = tradeAuctionRepo
|
|
|
.findByStatusInAndCurrentEndTimeBefore(tradeAuctionStatuses,
|
|
|
- LocalDateTime.now().plusMinutes(1));
|
|
|
+ LocalDateTime.now().plusSeconds(5));
|
|
|
tradeAuctions.parallelStream().forEach(o -> {
|
|
|
try {
|
|
|
TradeAuction auction = tradeAuctionRepo.findById(o.getId())
|