[Groonga-commit] droonga/droonga-engine at f6bde1b [master] Restart server only for synchronous message

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Thu May 29 20:04:22 JST 2014


YUKI Hiroshi	2014-05-29 20:04:22 +0900 (Thu, 29 May 2014)

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

  Message:
    Restart server only for synchronous message

  Modified files:
    lib/droonga/processor.rb

  Modified: lib/droonga/processor.rb (+1 -1)
===================================================================
--- lib/droonga/processor.rb    2014-05-29 20:00:02 +0900 (3b9d3d8)
+++ lib/droonga/processor.rb    2014-05-29 20:04:22 +0900 (8622a72)
@@ -49,7 +49,7 @@ module Droonga
           @handler_runner.process(message)
           #XXX Workaround to restart system by any schema change.
           #    This should be done more smartly...
-          FileUtils.touch(Path.catalog.to_s)
+          FileUtils.touch(Path.catalog.to_s) if synchronous
         else
           @job_pusher.push(message)
         end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index