to be more readable, add extra logging to process feed servicemaster
parent
0400734df7
commit
dbe00a4156
@ -1,5 +1,5 @@ |
|||||||
Neography.configure do |config| |
Neography.configure do |config| |
||||||
config.protocol = "http" |
config.protocol = "http" |
||||||
config.server = ENV['NEO4J_HOST'] || 'localhost' |
config.server = ENV.fetch('NEO4J_HOST') { 'localhost' } |
||||||
config.port = ENV['NEO4J_PORT'] || 7474 |
config.port = ENV.fetch('NEO4J_PORT') { 7474 } |
||||||
end |
end |
||||||
|
@ -1 +1,5 @@ |
|||||||
$redis = Redis.new(host: ENV['REDIS_HOST'] || 'localhost', port: ENV['REDIS_PORT'] || 6379, driver: :hiredis) |
$redis = Redis.new({ |
||||||
|
host: ENV.fetch('REDIS_HOST') { 'localhost' }, |
||||||
|
port: ENV.fetch('REDIS_PORT') { 6379 }, |
||||||
|
driver: :hiredis |
||||||
|
}) |
||||||
|
Loading…
Reference in new issue