meter 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/meter/configuration.rb +1 -1
- data/lib/meter/version.rb +1 -1
- metadata +1 -1
data/lib/meter/configuration.rb
CHANGED
@@ -14,7 +14,7 @@ module Meter
|
|
14
14
|
@primary_backend.port = options[:primary_port] || default_port
|
15
15
|
@primary_backend.namespace = options[:namespace] || default_namespace
|
16
16
|
@secondary_backend = Backend.new
|
17
|
-
@secondary_backend.host = options[:secondary_host] || default_host
|
17
|
+
@secondary_backend.host = options[:secondary_host] || ENV['METER_SECONDARY_HOST'] || default_host
|
18
18
|
@secondary_backend.port = options[:secondary_port] || default_secondary_port
|
19
19
|
@secondary_backend.namespace = options[:namespace] || default_namespace
|
20
20
|
|
data/lib/meter/version.rb
CHANGED