1
zj
2024-08-12 440f0f0b37a10c82e54f402be8d4d99c7406b4d4
websocketSerivce/src/main/java/org/example/server/impl/CurrencySerivceImpl.java
@@ -197,9 +197,14 @@
                if (markets1.getBids() == null) continue;
                for (int j = 0; j < exchanges.length; j++) {
                    if (i == j) continue;
                    MarketBo markets2 = exchangeMap.get(exchanges[j]);
                    if(markets1.getExchange().equals(markets2.getExchange())){
                        continue;
                    }
                    if (markets2.getAsks() == null) continue;
                    CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {