diff options
-rw-r--r-- | common/src/main/java/me/lucko/spark/common/CommandHandler.java | 2 | ||||
-rw-r--r-- | common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/src/main/java/me/lucko/spark/common/CommandHandler.java b/common/src/main/java/me/lucko/spark/common/CommandHandler.java index ed188ea..898bba7 100644 --- a/common/src/main/java/me/lucko/spark/common/CommandHandler.java +++ b/common/src/main/java/me/lucko/spark/common/CommandHandler.java @@ -131,7 +131,7 @@ public abstract class CommandHandler<T> { int intervalMillis = parseInt(arguments, "interval", "i"); if (intervalMillis <= 0) { - intervalMillis = 10; + intervalMillis = 4; } Set<String> threads = Sets.union(arguments.get("thread"), arguments.get("t")); diff --git a/common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java b/common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java index 3d304d6..7db0515 100644 --- a/common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java +++ b/common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java @@ -8,7 +8,7 @@ import java.util.concurrent.TimeUnit; */ public class SamplerBuilder { - private int samplingInterval = 10; + private int samplingInterval = 4; private long timeout = -1; private ThreadDumper threadDumper = ThreadDumper.ALL; private ThreadGrouper threadGrouper = ThreadGrouper.BY_NAME; |