From d2872fefceabb501e5ab03e7e08cf227d217abee Mon Sep 17 00:00:00 2001
From: pkupczyk <pkupczyk>
Date: Tue, 6 Oct 2015 13:18:50 +0000
Subject: [PATCH] SSDM-2504 : V3 AS API - search cache size configuration in
 openbis.conf

SVN: 34798
---
 openbis/dist/server/startup.sh                         | 1 +
 openbis_standard_technologies/dist/server/openbis.conf | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/openbis/dist/server/startup.sh b/openbis/dist/server/startup.sh
index b538864e9ee..44c1b6d4aa3 100755
--- a/openbis/dist/server/startup.sh
+++ b/openbis/dist/server/startup.sh
@@ -16,6 +16,7 @@ fi
 $JVM -DSTOP.PORT=$JETTY_STOP_PORT \
      -DSTOP.KEY=$JETTY_STOP_KEY \
      $JAVA_OPTS $JAVA_MEM_OPTS \
+     $OPENBIS_OPTS \
      -Dpython.path=$JETTY_LIB_PATH \
      -jar ../jetty-dist/start.jar --lib=lib/logging/*.jar:webapps/openbis/WEB-INF/lib/*.jar etc/jetty-started.xml >> logs/jetty.out 2>&1 &
 
diff --git a/openbis_standard_technologies/dist/server/openbis.conf b/openbis_standard_technologies/dist/server/openbis.conf
index 6c5055b8023..1fbda536772 100644
--- a/openbis_standard_technologies/dist/server/openbis.conf
+++ b/openbis_standard_technologies/dist/server/openbis.conf
@@ -16,3 +16,8 @@ JAVA_OPTS=${JAVA_OPTS:=-server -d64 -Djavax.net.ssl.trustStore=etc/openBIS.keyst
 # Memory options to the JRE
 #
 JAVA_MEM_OPTS="-Xmx2048m -Xms512m -XX:MaxPermSize=256m"
+
+#
+# OpenBIS options
+#
+OPENBIS_OPTS="-Dch.ethz.sis.openbis.v3.searchCache.size=25%"
-- 
GitLab