-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add solid cable and solid queue #1264
Conversation
@@ -91,10 +104,18 @@ test: | |||
# for a full overview on how database connection configuration can be specified. | |||
# | |||
production: | |||
<<: *default | |||
host: <%= ENV["DB_HOST"] %> | |||
pool: 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default is 5. No need to define here.
@@ -55,9 +55,6 @@ | |||
config.assume_ssl = true | |||
config.force_ssl = true | |||
|
|||
# Include generic and useful information about system operation, but avoid logging too much | |||
# information to avoid inadvertent exposure of personally identifiable information (PII). | |||
config.log_level = :info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed this in rails 8 upgrade. defined twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. It's nice not to have to use Redis when you don't have to.
@jmilljr24 can you please link to the resources you followed to implement this in the description? I am assuming it's the rails guides...but maybe others.
🔗 Issue
✍️ Description
Solid Cable is a database-backed Action Cable (websockets) adapter. Removes the need for something like Redis.
Solid Queue is a DB-based queuing backend for Active Job. This will allow us to add background jobs.
A few minor fixes were also added.
References:
https://github.com/rails/solid_cable
https://github.com/rails/solid_queue
📷 Screenshots/Demos