• Leonardo Aramaki's avatar
    Added a semaphore lock in RocketChatService method getStarted() · 40a217f0
    Leonardo Aramaki authored
    preventing multiple threads inconsistently creating multiple websocket
    threads for the same host and thus avoiding connecting to server multiple times unnecessarily.
    Changed network changing fallback implemention to try to reconnect to
    automatically and force-invalidating the session token before doing
    this.
    40a217f0
RxWebSocket.java 2.63 KB