[Groonga-commit] droonga/droonga-client-ruby at c2603a4 [master] Extract id from message.

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Jul 29 14:04:04 JST 2014


YUKI Hiroshi	2014-07-29 14:04:04 +0900 (Tue, 29 Jul 2014)

  New Revision: c2603a434bce7c1536c5670c5388c07d2b6fbc47
  https://github.com/droonga/droonga-client-ruby/commit/c2603a434bce7c1536c5670c5388c07d2b6fbc47

  Message:
    Extract id from message.
    
    It was removed on 5c3f1926a31695acb19d8b95f3393f6696e6fdeb but still required.

  Modified files:
    lib/droonga/client/connection/droonga-protocol/coolio.rb

  Modified: lib/droonga/client/connection/droonga-protocol/coolio.rb (+2 -0)
===================================================================
--- lib/droonga/client/connection/droonga-protocol/coolio.rb    2014-07-28 13:46:40 +0900 (ce777cd)
+++ lib/droonga/client/connection/droonga-protocol/coolio.rb    2014-07-29 14:04:04 +0900 (254160f)
@@ -195,6 +195,7 @@ module Droonga
                 response = _response
               end
             end
+            id = message["id"]
             @receiver.register(id) do |response|
               @receiver.unregister(id)
               block.call(response)
@@ -215,6 +216,7 @@ module Droonga
               yield(error)
             end
 
+            id = message["id"]
             request = InfiniteRequest.new(@loop)
             sync = block.nil?
             if sync
-------------- next part --------------
HTML����������������������������...
Download 



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