mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-07 22:45:40 +01:00
Make websocket timeouts stay on IO threads.
This commit is contained in:
committed by
Greyson Parrelli
parent
65105fd3cb
commit
9827deffd3
+1
-1
@@ -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