[Groonga-commit] droonga/droonga-engine at 0941a5a [master] Use given internal connection lifetime as the defualt timeout of sessions

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 22 19:57:13 JST 2015


YUKI Hiroshi	2015-04-22 19:57:13 +0900 (Wed, 22 Apr 2015)

  New Revision: 0941a5a5e01126a0855f17c89e9802fddffaed5c
  https://github.com/droonga/droonga-engine/commit/0941a5a5e01126a0855f17c89e9802fddffaed5c

  Message:
    Use given internal connection lifetime as the defualt timeout of sessions

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+2 -1)
===================================================================
--- lib/droonga/dispatcher.rb    2015-04-22 19:52:49 +0900 (0f4892a)
+++ lib/droonga/dispatcher.rb    2015-04-22 19:57:13 +0900 (453ee2e)
@@ -176,7 +176,8 @@ module Droonga
           collector_runner = @collector_runners[dataset]
           session = session_planner.create_session(id, self, collector_runner)
           if session.need_result?
-            timeout = message["timeout"] || nil
+            timeout = message["timeout"] ||
+                        @engine_state.internal_connection_lifetime
             @engine_state.register_session(id, session,
                                            :timeout => timeout)
             session.start
-------------- next part --------------
HTML����������������������������...
Descargar 



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