lib/legion/extensions/node/transport/queues/node.rb in lex-node-0.1.0 vs lib/legion/extensions/node/transport/queues/node.rb in lex-node-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
require 'socket'
module Legion::Extensions::Node::Transport::Queues
class Node < Legion::Transport::Queue
def queue_name
- "node.#{Legion::Settings['client']['name']}"
+ "node.#{Legion::Settings[:client][:name]}"
end
def queue_options
{ durable: false, exclusive: true, auto_delete: true }
end