Skip to content

Commit

Permalink
Specify who is creating a background worker (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
llhhaa committed Mar 13, 2024
1 parent 60cf6c4 commit 213e2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentry-ruby/lib/sentry/background_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize(configuration)
log_debug("config.background_worker_threads is set to 0, all events will be sent synchronously")
Concurrent::ImmediateExecutor.new
else
log_debug("Initializing the background worker with #{@number_of_threads} threads")
log_debug("Initializing the Sentry background worker with #{@number_of_threads} threads")

executor = Concurrent::ThreadPoolExecutor.new(
min_threads: 0,
Expand Down
2 changes: 1 addition & 1 deletion sentry-ruby/spec/sentry/background_worker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
expect(worker.number_of_threads).to eq(5)

expect(string_io.string).to match(
/Initializing the background worker with 5 threads/
/Initializing the Sentry background worker with 5 threads/
)
end
end
Expand Down

0 comments on commit 213e2ab

Please sign in to comment.