summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-12-15 16:38:25 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-12-17 17:25:48 +0100
commita41287d8989d7d49b405fd8f658d6c6e4edfd307 (patch)
tree283b85ee5892e999e029afdf035c7713e2dcdc0d /config/gitlab.yml.example
parent13dbd663acbbe91ddac77b650a90377cd12c54b8 (diff)
downloadgitlab-ce-a41287d8989d7d49b405fd8f658d6c6e4edfd307.tar.gz
Only track method calls above a certain threshold
This ensures we don't end up wasting resources by tracking method calls that only take a few microseconds. By default the threshold is 10 milliseconds but this can be changed using the gitlab.yml configuration file.
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 38b0920890f..24f3f6f02dc 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -432,6 +432,9 @@ production: &base
# pool_size: 16
# The timeout of a connection in seconds.
# timeout: 10
+ # The minimum amount of milliseconds a method call has to take before it's
+ # tracked. Defaults to 10.
+ # method_call_threshold: 10
development:
<<: *base