summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-12-10 16:19:47 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-12-10 16:19:47 +0000
commit6512ba8830ed46156c9f285cee1c4f8b895c3f95 (patch)
tree5da65f5a2cf961bbbbd535b646afd5e5708c110d /BKUOnline/src/main/java/at/gv/egiz
parent0d947bc3b357e3a875bbe740ed007f54d83a9389 (diff)
downloadmocca-6512ba8830ed46156c9f285cee1c4f8b895c3f95.tar.gz
mocca-6512ba8830ed46156c9f285cee1c4f8b895c3f95.tar.bz2
mocca-6512ba8830ed46156c9f285cee1c4f8b895c3f95.zip
Reduce STAL timeout to 4 minutes
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1246 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/java/at/gv/egiz')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/RequestBrokerSTALFactory.java4
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBroker.java2
2 files changed, 3 insertions, 3 deletions
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<JAXBElement<? extends RequestType>> connect();