[Groonga-commit] droonga/droonga-engine at 543f9f3 [master] Return result of "dump" and other asynchronous commands with the property name "started"

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Apr 10 18:57:21 JST 2015


YUKI Hiroshi	2015-04-10 18:57:21 +0900 (Fri, 10 Apr 2015)

  New Revision: 543f9f33ac5b8537d9f2b7391090477de08c7c98
  https://github.com/droonga/droonga-engine/commit/543f9f33ac5b8537d9f2b7391090477de08c7c98

  Message:
    Return result of "dump" and other asynchronous commands with the property name "started"

  Modified files:
    lib/droonga/plugin/async_command.rb

  Modified: lib/droonga/plugin/async_command.rb (+6 -2)
===================================================================
--- lib/droonga/plugin/async_command.rb    2015-04-10 18:53:34 +0900 (5109806)
+++ lib/droonga/plugin/async_command.rb    2015-04-10 18:57:21 +0900 (322a56a)
@@ -64,9 +64,13 @@ module Droonga
           request = Request.new(message)
           if request.need_start?
             start(request)
-            true
+            {
+              "started" => true,
+            }
           else
-            false
+            {
+              "started" => false,
+            }
           end
         end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index