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

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


The following commit(s) were added to refs/heads/master by this push:
     new c6f972e  [TUBEMQ-442]Modifying the jvm parameters when the broker 
starts does not take effect (#340)
c6f972e is described below

commit c6f972eefa38d01ac37a4eb0af6d09b13dea4777
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