This is an automated email from the ASF dual-hosted git repository.

yuanbo pushed a commit to branch TUBEMQ-421
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq.git

commit a835a50130ccbf0a7746b66544617d7f80091e0b
Author: gosonzhang <[email protected]>
AuthorDate: Fri Dec 4 17:37:16 2020 +0800

    [TUBEMQ-442]Modifying the jvm parameters when the broker starts does not 
take effect (#340)
    
    Co-authored-by: gosonzhang <[email protected]>
---
 bin/env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/env.sh b/bin/env.sh
index 46d168c..4364993 100644
--- a/bin/env.sh
+++ b/bin/env.sh
@@ -35,7 +35,7 @@ if [ -z "$MASTER_JVM_SIZE" ]; then
 fi
 MASTER_JVM_ARGS="$MASTER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp 
$CLASSPATH "
 #Broker jvm args
-if [ -z "$MASTER_JVM_SIZE" ]; then
+if [ -z "$BROKER_JVM_SIZE" ]; then
   BROKER_JVM_SIZE="-Xmx16g -Xms8g"
 fi
 BROKER_JVM_ARGS="$BROKER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp 
$CLASSPATH "

Reply via email to