mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
Three minor code enhancements (#1014)
This commit is contained in:
Regular → Executable
Regular → Executable
+1
-1
@@ -53,7 +53,7 @@ public class ThreadCommand extends AnnotatedCommand {
|
||||
private String state;
|
||||
|
||||
{
|
||||
states = new HashSet<String>(8);
|
||||
states = new HashSet<String>(State.values().length);
|
||||
for (State state : State.values()) {
|
||||
states.add(state.name());
|
||||
}
|
||||
|
||||
Regular → Executable
+3
-3
@@ -1,8 +1,8 @@
|
||||
|
||||
|
||||
# arthas http port
|
||||
arthas.server.port=7777
|
||||
|
||||
# for all endpoints
|
||||
management.endpoints.web.exposure.include=*
|
||||
|
||||
|
||||
# default user name
|
||||
spring.security.user.name=arthas
|
||||
Reference in New Issue
Block a user