diff options
author | Luck <git@lucko.me> | 2018-06-01 21:10:48 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2018-06-01 21:10:48 +0100 |
commit | 85ea74bfc414ee58136709c8dee6e59770c9b98d (patch) | |
tree | 421d9553c8abea495bc003ffdbbd0b4208efadb5 /common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java | |
parent | dca7407ed4ca955b7b692473a6a85263dc6a09f0 (diff) | |
download | spark-85ea74bfc414ee58136709c8dee6e59770c9b98d.tar.gz spark-85ea74bfc414ee58136709c8dee6e59770c9b98d.tar.bz2 spark-85ea74bfc414ee58136709c8dee6e59770c9b98d.zip |
Change default sampling interval to 4
Diffstat (limited to 'common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java')
-rw-r--r-- | common/src/main/java/me/lucko/spark/profiler/SamplerBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |