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

Use REDIS_URL by default #57

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Use REDIS_URL by default #57

merged 1 commit into from
Dec 2, 2021

Conversation

excid3
Copy link
Contributor

@excid3 excid3 commented Dec 2, 2021

Heroku and other hosts define REDIS_URL for the redis host. This updates Kredis to use the environment variable to set the URL by default and should simply usage of Kredis for new users. This works the same as DATABASE_URL does with ActiveRecord.

Also updated the README to link to the configuration and the Redis readme for other options that could be used.

@kaspth

@kaspth kaspth merged commit 2ea0d48 into rails:main Dec 2, 2021
@excid3 excid3 deleted the redis-url branch December 2, 2021 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants