Closed rubendinho closed 4 years ago
Looking at the apartment-sidekiq
code, perhaps a more elegant approach would be to add sidekiq support directly into this gem as a configuration option:
config.sidekiq = true
OR
config.background_job_adapter = :sidekiq
I'm not 100% sure how to properly implement this, but would be glad to take a stab with some guidance/advice.
hey @rubendinho. that sounds great. i think cloning is probably the easiest approach at the moment :+1:
Just opened a PR at: https://github.com/cpoms/apartment-sidekiq/pull/1
I'm not sure what the best approach would be to handle
Sidekiq
support forInnkeeper
, but happy to help with this.@mikecmpbll: I am happy to clone the latest version of
apartment-sidekiq
gem, rename toinnkeeper-sidekiq
and open a PR to your fork ofapartment-sidekiq
, but wanted to see if perhaps there's a better approach to avoid 100% duplication of the underlying code. Obviouslyinnkeeper
is a significant re-write of Apartment, but in the case ofapartment-sidekiq
, the code would remain identical.