|
@@ -33,8 +33,9 @@ import java.util.Map;
|
|
|
@Slf4j
|
|
@Slf4j
|
|
|
@Component
|
|
@Component
|
|
|
public class WsConnection {
|
|
public class WsConnection {
|
|
|
- @DubboReference(check = false)
|
|
|
|
|
|
|
+ @DubboReference(check = false, retries = 0, timeout = 60_000)
|
|
|
private AccountQuery accountQuery;
|
|
private AccountQuery accountQuery;
|
|
|
|
|
+
|
|
|
private final RabbitProducer rabbitProducer;
|
|
private final RabbitProducer rabbitProducer;
|
|
|
// userId -> session
|
|
// userId -> session
|
|
|
private final Map<String, WebSocketSession> userSessions = new HashMap<>();
|
|
private final Map<String, WebSocketSession> userSessions = new HashMap<>();
|