EGI-FCTF/oneacct_export

View on GitHub
lib/sidekiq_conf.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'sidekiq'
require 'redis_conf'

# Class representing Sidekiq configuration
Sidekiq.configure_client do |config|
  options = RedisConf.options
  options[:size] = 1
  config.redis = options
end
Sidekiq.configure_server do |config|
  config.redis = RedisConf.options
end