Skip to content

Commit bda5d52

Browse files
committed
fix(server): arthas configuration is ignored due to inconsistent naming pattern
1 parent b105e2c commit bda5d52

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/config/ServerOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public class ServerOptions extends OptionHolder {
447447
"arthas.disabledCommands",
448448
"arthas disabled commands",
449449
disallowEmpty(),
450-
"jad"
450+
"jad,ognl,vmtool"
451451
);
452452

453453
public static final ConfigOption<Boolean> ALLOW_TRACE =

hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ batch.max_write_ratio=80
1212
batch.max_write_threads=0
1313

1414
# configuration of arthas
15-
arthas.telnet_port=8562
16-
arthas.http_port=8561
15+
arthas.telnetPort=8562
16+
arthas.httpPort=8561
1717
arthas.ip=127.0.0.1
18-
arthas.disabled_commands=jad
18+
arthas.disabledCommands=jad,ognl,vmtool
1919

2020
# authentication configs
2121
#auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator

0 commit comments

Comments
 (0)