Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Avoid JSON dump on Rails.application (#6198)
Rails enhances `Object` with `#as_json` that either uses `#to_hash`, or builds Hash of instance variables to their values. During boot process Sidekiq sends debug event with context that includes `:reloader`. As Reloader class has `@app = Rails.application` that causes stak level too deep one-off failure.
- Loading branch information