[Groonga-commit] droonga/droonga-client-ruby at 0fb2ff9 [master] Reduce wait time for two or more inputs

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Dec 17 23:07:52 JST 2013


Kouhei Sutou	2013-12-17 23:07:52 +0900 (Tue, 17 Dec 2013)

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

  Message:
    Reduce wait time for two or more inputs

  Modified files:
    lib/droonga/client/connection/droonga_protocol.rb

  Modified: lib/droonga/client/connection/droonga_protocol.rb (+1 -0)
===================================================================
--- lib/droonga/client/connection/droonga_protocol.rb    2013-12-17 19:14:37 +0900 (a6aca48)
+++ lib/droonga/client/connection/droonga_protocol.rb    2013-12-17 23:07:52 +0900 (f798e1b)
@@ -191,6 +191,7 @@ module Droonga
               start = Time.now
               readables, = IO.select([input], nil, nil, timeout)
               timeout -= (Time.now - start)
+              timeout /= 2.0
               timeout = 0 if timeout < 0
               break if readables.nil?
               yield(timeout)
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る