diff options
author | Luck <git@lucko.me> | 2020-04-20 22:04:21 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2020-04-20 22:04:21 +0100 |
commit | d927d105a8525c53dfc6213f9ca42f03b7fc46ac (patch) | |
tree | d77b714fcd62e368e5c9b4392faebf5b29769dce /spark-common/src/main/java/me/lucko/spark/common/command | |
parent | efa16aacebe904a5052f9946652e22bd453e39bb (diff) | |
download | spark-d927d105a8525c53dfc6213f9ca42f03b7fc46ac.tar.gz spark-d927d105a8525c53dfc6213f9ca42f03b7fc46ac.tar.bz2 spark-d927d105a8525c53dfc6213f9ca42f03b7fc46ac.zip |
Set default sampling interval to 3ms
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java | 2 |
1 files changed, 1 insertions, 1 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"); |