Commit 9ebbc895 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Changed hardcoded timeout of 5 seconds to use existing system property.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5173 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3dd8b9a9
...@@ -165,7 +165,7 @@ class ServerDialback { ...@@ -165,7 +165,7 @@ class ServerDialback {
// Set a read timeout (of 5 seconds) so we don't keep waiting forever // Set a read timeout (of 5 seconds) so we don't keep waiting forever
int soTimeout = socket.getSoTimeout(); int soTimeout = socket.getSoTimeout();
socket.setSoTimeout(5000); socket.setSoTimeout(RemoteServerManager.getSocketTimeout());
XMPPPacketReader reader = new XMPPPacketReader(); XMPPPacketReader reader = new XMPPPacketReader();
reader.setXPPFactory(FACTORY); reader.setXPPFactory(FACTORY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment