Navigation Menu

Skip to content

Commit

Permalink
Return result of "dump" and other asynchronous commands with the prop…
Browse files Browse the repository at this point in the history
…erty name "started"
  • Loading branch information
piroor committed Apr 10, 2015
1 parent b08ef11 commit 543f9f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/droonga/plugin/async_command.rb
Expand Up @@ -64,9 +64,13 @@ def handle(message)
request = Request.new(message)
if request.need_start?
start(request)
true
{
"started" => true,
}
else
false
{
"started" => false,
}
end
end

Expand Down

0 comments on commit 543f9f3

Please sign in to comment.