aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common
diff options
context:
space:
mode:
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java2
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/sampler/SamplerBuilder.java2
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 b2b7a16..68f1ccc 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 = 4;
+ intervalMillis = 3;
}
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 ff4c6df..ba2c091 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 = 4; // milliseconds
+ private double samplingInterval = 3; // milliseconds
private boolean ignoreSleeping = false;
private long timeout = -1;
private ThreadDumper threadDumper = ThreadDumper.ALL;