rails / solid_queue

Database-backed Active Job backend
MIT License
1.96k stars 131 forks source link

Same database for queue #328

Closed lethaale closed 2 months ago

lethaale commented 2 months ago

Hi @rosa!

I want to deploy a single database with both normal data and solid queue data and I can't find in the README how.

Can you help? Thanks in advance!

dhh commented 2 months ago

Take the contents of the queue_schema.rb file, shove it into a migration, and remove the "config.solid_queue.connects_to" line from config/environments/production.rb 👍

lethaale commented 2 months ago

Thanks @dhh! Same goes for Solid Cache, I assume? Do you want me do a PR and add it to README?

rosa commented 2 months ago

Same goes for Solid Cache, I assume?

Yes!

Do you want me do a PR and add it to README?

That'd be super nice if you have time 🙏 😊