Skip to content

Respect the configured redis URL when initializing the session store

Ramya Authappan requested to merge github/fork/vollnhals/patch-1 into master

Created by: vollnhals

It was not possible to start Gitlab with a redis server running on another host or port. Every other subsystem that uses redis respects the settings in config/resque.yml.

This patch uses the configured url if present and falls back to localhost:6379

Compare this code to the relevant lines in config/environments/production.rb

Merge request reports

Loading