Skip to content
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

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Add solid cable and solid queue #1264

merged 2 commits into from
Dec 17, 2024

Conversation

jmilljr24
Copy link
Collaborator

@jmilljr24 jmilljr24 commented Dec 16, 2024

🔗 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

@@ -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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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.

Copy link
Collaborator

@kasugaijin kasugaijin left a 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.

@jmilljr24 jmilljr24 merged commit 76d7acf into main Dec 17, 2024
5 checks passed
@jmilljr24 jmilljr24 deleted the solid_cable-solid_queue branch December 17, 2024 14:00
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.

2 participants