collectiveidea / delayed_job

Database based asynchronous priority queue system -- Extracted from Shopify
http://groups.google.com/group/delayed_job
MIT License
4.82k stars 954 forks source link

Move `ActiveJob` adapter to `delayed_job` #1219

Open dixpac opened 2 months ago

dixpac commented 2 months ago

Implements adapter for ActiveJob inside the gem. This adapter is defined only if rails version is >=8, for earlier rails versions adapter is defined inside the Rails itself.

I'm not supper familiar with delayed_job internals, this is just a draft if you are interested in doing this I can finish the work on this PR. This is connected to the discussion here https://github.com/rails/rails/issues/52929

❤️

dixpac commented 1 month ago

@albus522 I've moved adapter from Rails and added the tests. Let me know what do you think about this approach