mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 03:56:22 +00:00
14 lines
286 B
Ruby
14 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
|