-
Notifications
You must be signed in to change notification settings - Fork 898
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
Redis sessions #20612
Redis sessions #20612
Conversation
I kind of like this PR...not sure about incurring another gem and its dependencies, but otherwise it looks really good. If we did decide to go the redis route as the default instead of memcached, then we'd need a way to carry that on the appliances/operator |
Add the ability to use redis as the session store. Currently alternatives include memcached, sql, and in-memory. Changing the session store is done in settings: ```yaml :server: :session_store: redis :session: :redis_url: redis://127.0.0.1/2 ``` The url is of the form: `redis://[:password@]host[:port][/db-number]`
Checked commit kbrock@43bd97f with ruby 2.6.3, rubocop 1.13.0, haml-lint 0.35.0, and yamllint |
too low on the priority queue we need to just use rails built in mechanism for sessions / cache. Then all this stuff would be free. |
Add the ability to use redis as the session store. Currently alternatives
include memcached, sql, and in-memory.
Changing the session store is done in settings:
The url is of the form:
redis://[:password@]host[:port][/db-number]