diff options
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java | 2 | ||||
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/sampler/SamplerBuilder.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java index 68f1ccc..b2b7a16 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java +++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java @@ -142,7 +142,7 @@ public class SamplerModule implements CommandModule { double intervalMillis = arguments.doubleFlag("interval"); if (intervalMillis <= 0) { - intervalMillis = 3; + intervalMillis = 4; } boolean ignoreSleeping = arguments.boolFlag("ignore-sleeping"); diff --git a/spark-common/src/main/java/me/lucko/spark/common/sampler/SamplerBuilder.java b/spark-common/src/main/java/me/lucko/spark/common/sampler/SamplerBuilder.java index ba2c091..ff4c6df 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/sampler/SamplerBuilder.java +++ b/spark-common/src/main/java/me/lucko/spark/common/sampler/SamplerBuilder.java @@ -29,7 +29,7 @@ import java.util.concurrent.TimeUnit; */ public class SamplerBuilder { - private double samplingInterval = 3; // milliseconds + private double samplingInterval = 4; // milliseconds private boolean ignoreSleeping = false; private long timeout = -1; private ThreadDumper threadDumper = ThreadDumper.ALL; |