From bfd0f4991f9e15206a7582b2510b0f5c87362f77 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 20 Nov 2014 17:28:12 +0100 Subject: Add 8 seconds timeout to thrift connection --- .../java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java') diff --git a/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java b/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java index 7b41e20..2196c5e 100644 --- a/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java +++ b/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java @@ -238,7 +238,7 @@ public class ThriftConnection final ImageServer.Client newClient; try { TTransport transport = new TFramedTransport( new TSocket( - Globals.getMasterserverHost(), Globals.getThriftPort() ) ); + Globals.getMasterserverHost(), Globals.getThriftPort(), 8000 ) ); transport.open(); TProtocol protocol = new TBinaryProtocol( transport ); newClient = new ImageServer.Client( protocol ); -- cgit v1.2.3-55-g7522