[Groonga-commit] droonga/droonga-engine at 9f3b557 [master] Refresh connections in workers correctly

Back to archive index

Piro / YUKI Hiroshi null+****@clear*****
Thu Apr 23 04:22:07 JST 2015


Piro / YUKI Hiroshi	2015-04-23 04:22:07 +0900 (Thu, 23 Apr 2015)

  New Revision: 9f3b5573d5c415cb9ef1924b242780d58009d732
  https://github.com/droonga/droonga-engine/commit/9f3b5573d5c415cb9ef1924b242780d58009d732

  Message:
    Refresh connections in workers correctly

  Modified files:
    lib/droonga/supervisor.rb

  Modified: lib/droonga/supervisor.rb (+10 -0)
===================================================================
--- lib/droonga/supervisor.rb    2015-04-23 04:12:17 +0900 (223fdaa)
+++ lib/droonga/supervisor.rb    2015-04-23 04:22:07 +0900 (d137579)
@@ -65,6 +65,12 @@ module Droonga
       end
     end
 
+    def refresh_node_reference
+      @worker_runners.each do |worker_runner|
+        worker_runner.refresh_node_reference
+      end
+    end
+
     private
     def log_tag
       "supervisor"
@@ -139,6 +145,10 @@ module Droonga
         @supervisor.stop_immediately
       end
 
+      def refresh_node_reference
+        @supervisor.refresh_node_reference
+      end
+
       def success?
         @success
       end
-------------- next part --------------
HTML����������������������������...
다운로드 



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