summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();