Daijiro MORI
null+****@clear*****
Thu Sep 5 21:59:12 JST 2013
Daijiro MORI 2013-09-05 21:59:12 +0900 (Thu, 05 Sep 2013) New Revision: 28043a94e3367971de523f3a5916e854d7518c05 https://github.com/droonga/fluent-plugin-droonga/commit/28043a94e3367971de523f3a5916e854d7518c05 Message: Enable assigning plugins from catalog.json Modified files: lib/droonga/catalog.rb Modified: lib/droonga/catalog.rb (+3 -1) =================================================================== --- lib/droonga/catalog.rb 2013-09-04 21:12:11 +0900 (9d21dc9) +++ lib/droonga/catalog.rb 2013-09-05 21:59:12 +0900 (3101697) @@ -56,6 +56,7 @@ module Droonga results = {} @catalog["datasets"].each do |key, dataset| workers = dataset["workers"] + plugins = dataset["plugins"] dataset["ring"].each do |key, part| part["partitions"].each do |range, partitions| partitions.each do |partition| @@ -63,7 +64,8 @@ module Droonga path = File.join([device, $POSTMATCH, 'db']) options = { :database => path, - :n_workers => workers + :n_workers => workers, + :handlers => plugins } results[partition] = options end -------------- next part -------------- HTML����������������������������...Download