File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def trace_exceptions?
7070
7171 # FIXME this should use profile_parameter and be the same as flamegraph?
7272 def pp_flamegraph?
73- @query_string . match? ( /pp=(async-)?flamegraph/ )
73+ @query_string . match? ( /pp=(async-)?flamegraph/ )
7474 end
7575
7676 def flamegraph_sample_rate
@@ -455,7 +455,7 @@ def call(env)
455455 if defined? ( StackProf ) && StackProf . respond_to? ( :run )
456456 # do not sully our profile with mini profiler timings
457457 current . measure = false
458- sample_rate = query_settings . flamegraph_sample_rate || config . flamegraph_sample_rate
458+ sample_rate = query_settings . flamegraph_sample_rate || config . flamegraph_sample_rate
459459 mode = query_settings . flamegraph_mode || config . flamegraph_mode
460460
461461 flamegraph = StackProf . run (
@@ -538,7 +538,7 @@ def call(env)
538538 page_struct [ :user ] = user ( env )
539539 page_struct [ :root ] . record_time ( ( Process . clock_gettime ( Process ::CLOCK_MONOTONIC ) - start ) * 1000 )
540540
541- if flamegraph && query_settings . flamegraph?
541+ if flamegraph && query_settings . flamegraph?
542542 body . close if body . respond_to? :close
543543 return client_settings . handle_cookie ( self . flamegraph ( flamegraph , path , env ) )
544544 elsif flamegraph # async-flamegraph
You can’t perform that action at this time.
0 commit comments