mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 01:26:21 +00:00
13 lines
286 B
Ruby
13 lines
286 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sidekiq.configure_server do |config|
|
|
config.redis = {
|
|
url: ENV.fetch('REDIS_SERVER', 'redis://localhost:6379/1')
|
|
}
|
|
end
|
|
|
|
Sidekiq.configure_client do |config|
|
|
config.redis = {
|
|
url: ENV.fetch('REDIS_CLIENT', 'redis://localhost:6379/1')
|
|
}
|
|
end
|