debian-mirror-gitlab/config/initializers/7_redis.rb
2016-11-03 12:29:30 +05:30

4 lines
127 B
Ruby

# Make sure we initialize a Redis connection pool before Sidekiq starts
# multi-threaded execution.
Gitlab::Redis.with { nil }