summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2014-11-20 17:28:12 +0100
committerSimon Rettberg2014-11-20 17:28:12 +0100
commitbfd0f4991f9e15206a7582b2510b0f5c87362f77 (patch)
tree8ec8133199f72fc77b2bef1acc9b4a7ed675bc5a /src
parentAdapted to moved whole proxy settings configuration to master-sync-shared. (diff)
downloadsatellite-daemon-bfd0f4991f9e15206a7582b2510b0f5c87362f77.tar.gz
satellite-daemon-bfd0f4991f9e15206a7582b2510b0f5c87362f77.tar.xz
satellite-daemon-bfd0f4991f9e15206a7582b2510b0f5c87362f77.zip
Add 8 seconds timeout to thrift connection
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java2
1 files changed, 1 insertions, 1 deletions
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 );