File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
modules/jvm/bash/artifacts/opt/jboss/container/java/jvm Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,6 @@ if [ x$limit != x ]; then
62
62
export CONTAINER_CORE_LIMIT=" $limit "
63
63
fi
64
64
65
- local env_core_limit=" $( min $CONTAINER_CORE_LIMIT $JAVA_CORE_LIMIT ) "
66
- if [ -n " $env_core_limit " ]; then
67
- export CORE_LIMIT=" $env_core_limit "
68
- fi
69
-
70
65
local max_mem=" $( container_memory) "
71
66
if [ x$max_mem != x ]; then
72
67
export CONTAINER_MAX_MEMORY=" $max_mem "
Original file line number Diff line number Diff line change @@ -115,9 +115,8 @@ diagnostics() {
115
115
}
116
116
117
117
cpu_core_tunning () {
118
- # If both are set rely on JAVA_CORE_LIMIT limited to CONTAINER_CORE_LIMIT
119
118
# If none are set, just return.
120
- local core_limit=${JAVA_CORE_LIMIT :- ${ CONTAINER_CORE_LIMIT} }
119
+ local core_limit=${CONTAINER_CORE_LIMIT}
121
120
if [ " x$core_limit " = " x0" -o " x$core_limit " = " x" ]; then
122
121
return
123
122
else
You can’t perform that action at this time.
0 commit comments