Navigation Menu

Skip to content

Commit

Permalink
Isolate Cluster from NodeMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 21, 2015
1 parent f2f9b33 commit 09334e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/droonga/cluster.rb
Expand Up @@ -18,7 +18,6 @@
require "droonga/path"
require "droonga/file_observer"
require "droonga/engine_node"
require "droonga/node_metadata"

module Droonga
class Cluster
Expand Down Expand Up @@ -62,7 +61,6 @@ def initialize(loop, params)

@catalog = params[:catalog]
@state = nil
@node_metadata = params[:metadata]

reload
end
Expand Down Expand Up @@ -189,8 +187,7 @@ def create_engine_nodes
node_state = @state[name] || {}
EngineNode.new(name,
node_state,
@loop,
:metadata => @node_metadata)
@loop)
end
end

Expand Down

0 comments on commit 09334e6

Please sign in to comment.