From 8df45b32ccb53609dd90a5580e06a6f8e43a86a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 30 Oct 2010 13:27:51 +0200 Subject: [PATCH] Wait at most a minute for a reply. --- .../java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.7.4