docker/config.ru in sidekiq-prometheus-exporter-0.1.14 vs docker/config.ru in sidekiq-prometheus-exporter-0.1.15
- old
+ new
@@ -31,8 +31,10 @@
cfg[:password] = ":#{uri.password}" if uri.password
cfg
end
end
+config[:id] = nil if ENV.key?('REDIS_DISABLE_CLIENT_ID')
+
Sidekiq.configure_client { |client| client.redis = config }
run Sidekiq::Prometheus::Exporter.to_app