Navigation Menu

Skip to content

Commit

Permalink
Make base async handler loggable
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 10, 2015
1 parent 4f75f2c commit 1b0c93b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/droonga/plugin/async_command.rb
Expand Up @@ -15,6 +15,7 @@

require "coolio"

require "droonga/loggable"
require "droonga/handler"
require "droonga/error_messages"

Expand Down Expand Up @@ -72,6 +73,8 @@ def start(request)
end

class AsyncHandler
include Loggable

def initialize(loop, messenger, request)
@loop = loop
@messenger = messenger
Expand Down
2 changes: 0 additions & 2 deletions lib/droonga/plugins/dump.rb
Expand Up @@ -45,8 +45,6 @@ def start(request)
end

class Dumper < AsyncCommand::AsyncHandler
include Loggable

def initialize(context, loop, messenger, request)
@context = context
super(loop, messenger, request)
Expand Down

0 comments on commit 1b0c93b

Please sign in to comment.