Make websocket timeouts stay on IO threads.
This commit is contained in:
parent
65105fd3cb
commit
9827deffd3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue