Skip to content

Commit

Permalink
limit impact of highly dangerous condition to v7 only
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHoenscheid committed Aug 23, 2024
1 parent 6aff288 commit 581cff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/setenv.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export JAVA_OPTS
# Set the JVM arguments used to start Confluence. For a description of the options, see
# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

<%- if version[0] >= 7 # 7.x.x or higher -%>
<%- if version[0] == 7 # 7.x.x or higher -%>
<%- if version[1] >= 1 # 7.1.x or higher -%>
CATALINA_OPTS="-XX:+IgnoreUnrecognizedVMOptions ${CATALINA_OPTS}"
CATALINA_OPTS="-Xlog:gc+age=debug:file=$LOGBASEABS/logs/gc-`date +%F_%H-%M-%S`.log::filecount=5,filesize=2M ${CATALINA_OPTS}"
Expand Down

0 comments on commit 581cff7

Please sign in to comment.