Merge branch '65509-improve-gc-report-buckets-granularity' into 'master'

Improve GC_REPORT_BUCKETS granularity

See merge request gitlab-org/gitlab-ce!32586
This commit is contained in:
Kamil Trzciński 2019-09-03 13:39:51 +00:00
commit 1cb0fa18df
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module Gitlab
module Metrics
module Samplers
class RubySampler < BaseSampler
GC_REPORT_BUCKETS = [0.001, 0.002, 0.005, 0.01, 0.05, 0.1, 0.5].freeze
GC_REPORT_BUCKETS = [0.005, 0.01, 0.02, 0.04, 0.07, 0.1, 0.5].freeze
def initialize(interval)
GC::Profiler.clear