Navigation Menu

Skip to content

Commit

Permalink
Define system.object.* as a part of the "system" plugin, not a separa…
Browse files Browse the repository at this point in the history
…te one
  • Loading branch information
piroor committed Apr 22, 2015
1 parent dba647e commit b5c9c4e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/droonga/plugins/system/object.rb
Expand Up @@ -19,11 +19,7 @@
module Droonga
module Plugins
module System
module Object
extend Plugin
register("system.object")

class CountHandler < Droonga::Handler
class ObjectCountHandler < Droonga::Handler
include DatabaseScanner

def handle(message)
Expand All @@ -49,10 +45,9 @@ def handle(message)

define_single_step do |step|
step.name = "system.object.count"
step.handler = CountHandler
step.handler = ObjectCountHandler
step.collector = Collectors::RecursiveSum
end
end
end
end
end

0 comments on commit b5c9c4e

Please sign in to comment.