|
@@ -33,7 +33,7 @@ public class MyWebSocketServer extends WebSocketServer {
|
|
|
InetSocketAddress myHost = new InetSocketAddress(ip, 9090);
|
|
|
mInstance = new MyWebSocketServer(myHost);
|
|
|
mInstance.setReuseAddr(true);
|
|
|
- mInstance.setConnectionLostTimeout(5);
|
|
|
+ mInstance.setConnectionLostTimeout(15);
|
|
|
}
|
|
|
}
|
|
|
return mInstance;
|