chemica / concussion

A Ruby gem to allow Suckerpunch jobs to persist and survive process termination and restart.
MIT License
2 stars 0 forks source link

Plans for ActiveRecord adapter (a la Delayed::Job)? #1

Open bartkamphorst opened 8 years ago

bartkamphorst commented 8 years ago

Neat idea! This is exactly the functionality that sucker_punch requires for it to be perfect for my needs. However, I'd like to persist my jobs in my app's database the way delayed_job does. Do you have any plans of adding an adapter to concussion for persisting jobs that way? Thanks! :+1:

chemica commented 8 years ago

Apologies for the delay replying!

I can add an AR adapter quite easily, I'll look into it. I need to revisit the project anyway; the new version of sucker_punch uses a different interface which is bound to break my code.

Alternatively, if I don't get round to it in time, you could lock your version of sucker_punch to v.1.x and add your own adapter. The interface is described at length in the Redis adapter file. If you do, you can gemify it or issue a pull request. :)

bartkamphorst commented 8 years ago

Thanks @chemica for looking into it. There's no rush, I probably won't get to work on my project for another month or so anyway. But I do hope you'll continue developing concussion, as I still think it's a great addition to sucker_punch!