sidekiq/pull/4982 — Adds support for Sidekiq::CurrentAttributes.persist(Myapp::Current), which persists a CurrentAttributes class into sidekiq jobs automatically
Would y'all be open to a PR that updates apartment-sidekiq to use CurrentAttributes for persisting the tenant on Sidekiq jobs if the Sidekiq version is high enough (>= 6.3.0)? Or maybe a configuration option to enable that?
Sidekiq recently added support for ActiveSupport::CurrentAttributes:
Sidekiq::CurrentAttributes.persist(Myapp::Current)
, which persists a CurrentAttributes class into sidekiq jobs automatically/queues/xxx
sidekiq admin pageWould y'all be open to a PR that updates apartment-sidekiq to use CurrentAttributes for persisting the tenant on Sidekiq jobs if the Sidekiq version is high enough (>= 6.3.0)? Or maybe a configuration option to enable that?