Skip to content

Commit

Permalink
Add nice description to dir interruption workaround setting
Browse files Browse the repository at this point in the history
...that mentions #3450 .
  • Loading branch information
ivoanjo committed Jun 14, 2024
1 parent 43a3e5e commit 9152470
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/datadog/core/configuration/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,13 @@ def initialize(*_)
end
end

# TODO: description
# The profiler gathers data by sending `SIGPROF` unix signals to Ruby application threads.
#
# We've discovered that this can trigger a bug in a number of Ruby APIs in the `Dir` class, as
# described in https://github.com/DataDog/dd-trace-rb/issues/3450 . This workaround prevents the issue
# from happening by monkey patching the affected APIs.
#
# (In the future, once a fix lands upstream, we'll disable this workaround for Rubies that don't need it)
#
# @default `DD_PROFILING_DIR_INTERRUPTION_WORKAROUND_ENABLED` environment variable as a boolean,
# otherwise `true`
Expand Down

0 comments on commit 9152470

Please sign in to comment.