From: David ‘Bombe’ Roden Date: Sat, 30 Oct 2010 11:27:51 +0000 (+0200) Subject: Wait at most a minute for a reply. X-Git-Tag: 0.2-RC1~80 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8df45b32ccb53609dd90a5580e06a6f8e43a86a0;p=Sone.git Wait at most a minute for a reply. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index 49c76d7..fd42ce6 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -277,7 +277,7 @@ public class WebOfTrustConnector implements ConnectorListener { synchronized (reply) { pluginConnector.sendRequest(WOT_PLUGIN_NAME, PLUGIN_CONNECTION_IDENTIFIER, fields, data); try { - reply.wait(); + reply.wait(60000); } catch (InterruptedException ie1) { logger.log(Level.WARNING, "Got interrupted while waiting for reply on GetOwnIdentities.", ie1); }