Skip to content

Conversation

dhh
Copy link
Member

@dhh dhh commented Sep 4, 2024

Following the same pattern we took with Solid Cache. This entails collapsing all the migrations into a premade queue_schema.rb and switching the default configuration to use a database configuration under the queue key. This configuration can now be set in config/solid_queue.yml, just like it's possible to do with Solid Cache. Drop all mentions and focus on running SQ off the same database.

@rosa rosa merged commit 564047d into main Sep 5, 2024
8 checks passed
@rosa rosa deleted the slim-down-installer branch September 5, 2024 15:38
@spiritualpad
Copy link

If we would like to keep SolidQueue tables on a separate database server from the main app, how would we do that now?

@dhh
Copy link
Member Author

dhh commented Sep 7, 2024

That's now the default. The schema is independent, you point solid queue to the database you want to use with config.solid_queue.connects_to = { database: { writing: :your_db_name } } and match that in config/database.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants