mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Make websocket timeouts stay on IO threads.
This commit is contained in:
committed by
Greyson Parrelli
parent
65105fd3cb
commit
9827deffd3
@@ -208,7 +208,7 @@ public class WebSocketConnection extends WebSocketListener {
|
||||
|
||||
return single.subscribeOn(Schedulers.io())
|
||||
.observeOn(Schedulers.io())
|
||||
.timeout(10, TimeUnit.SECONDS);
|
||||
.timeout(10, TimeUnit.SECONDS, Schedulers.io());
|
||||
}
|
||||
|
||||
public synchronized void sendResponse(WebSocketResponseMessage response) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user