You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correction. Sidekiq::Rails::Reloader is not the direct problem here. It simply holds instance variable: @app = Rails.application. Calling Rails.application.as_json fails with stack level to deep.
Environment
Expected Behavior
Actual Behavior
Root Cause
Sidekiq 7.2 logs debug info about the process with payload:
The problematic here is
:reloader
. Attempt to callas_json
on it causes stack overflow.Workaround
We've monkey-patched
Sidekiq::Rails::Reloader
in our codebase to overcome this:The text was updated successfully, but these errors were encountered: