mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +01:00
Removed hard-coded reply timeout.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2655 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
7ae75258be
commit
37231ec646
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ public class PrivateDataManager {
|
|||
connection.sendPacket(privateDataGet);
|
||||
|
||||
// Wait up to five seconds for a response from the server.
|
||||
IQ response = (IQ)collector.nextResult(5000);
|
||||
IQ response = (IQ)collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
|
||||
// Stop queuing results
|
||||
collector.cancel();
|
||||
if (response == null) {
|
||||
|
|
Loading…
Reference in a new issue