Method: Datadog::Profiling::Profiler#start
- Defined in:
- lib/datadog/profiling/profiler.rb
#start ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/datadog/profiling/profiler.rb', line 20 def start after_fork! do worker.reset_after_fork scheduler.reset_after_fork end worker.start(on_failure_proc: proc { component_failed(:worker) }) scheduler.start(on_failure_proc: proc { component_failed(:scheduler) }) end |