From 6512ba8830ed46156c9f285cee1c4f8b895c3f95 Mon Sep 17 00:00:00 2001 From: tkellner Date: Tue, 10 Dec 2013 16:19:47 +0000 Subject: Reduce STAL timeout to 4 minutes git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1246 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../java/at/gv/egiz/stal/service/impl/RequestBrokerSTALFactory.java | 4 ++-- .../src/main/java/at/gv/egiz/stal/service/impl/STALRequestBroker.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'BKUOnline/src/main') diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/RequestBrokerSTALFactory.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/RequestBrokerSTALFactory.java index cc99e421..22a6db42 100644 --- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/RequestBrokerSTALFactory.java +++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/RequestBrokerSTALFactory.java @@ -49,8 +49,8 @@ public class RequestBrokerSTALFactory implements STALFactory, ComponentMXBean { public static final String APPLET_TIMEOUT = "AppletTimeout"; - public int getAppletTimeout() { - return configuration.getInteger(APPLET_TIMEOUT, -1); + public long getAppletTimeout() { + return configuration.getLong(APPLET_TIMEOUT, -1); } } diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBroker.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBroker.java index 28a7b5b9..a096afd6 100644 --- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBroker.java +++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBroker.java @@ -39,7 +39,7 @@ import javax.xml.bind.JAXBElement; public interface STALRequestBroker extends STAL { public static final int ERR_4500 = 4500; - public static final long DEFAULT_TIMEOUT_MS = 1000*60*5; //5mn + public static final long DEFAULT_TIMEOUT_MS = 1000*60*4; //4mn public List> connect(); -- cgit v1.2.3