[Groonga-commit] droonga/droonga-engine at c0d93ec [master] Convert non-string option value to string for command line

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 22 19:44:27 JST 2015


YUKI Hiroshi	2015-04-22 19:44:27 +0900 (Wed, 22 Apr 2015)

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

  Message:
    Convert non-string option value to string for command line

  Modified files:
    lib/droonga/command/droonga_engine.rb
    lib/droonga/supervisor.rb

  Modified: lib/droonga/command/droonga_engine.rb (+2 -2)
===================================================================
--- lib/droonga/command/droonga_engine.rb    2015-04-22 19:41:54 +0900 (3ba729e)
+++ lib/droonga/command/droonga_engine.rb    2015-04-22 19:44:27 +0900 (05debd4)
@@ -163,7 +163,7 @@ module Droonga
             "--port", port.to_s,
             "--tag", tag,
             "--internal-connection-lifetime",
-              internal_connection_lifetime,
+              internal_connection_lifetime.to_s,
             "--log-level", log_level,
           ]
           if log_file_path
@@ -184,7 +184,7 @@ module Droonga
           command_line_options = [
             "--engine-name", engine_name,
             "--internal-connection-lifetime",
-              internal_connection_lifetime,
+              internal_connection_lifetime.to_s,
           ]
           command_line_options
         end

  Modified: lib/droonga/supervisor.rb (+1 -1)
===================================================================
--- lib/droonga/supervisor.rb    2015-04-22 19:41:54 +0900 (0a98295)
+++ lib/droonga/supervisor.rb    2015-04-22 19:44:27 +0900 (5449699)
@@ -112,7 +112,7 @@ module Droonga
           "--database-path", @config.database_path.to_s,
           "--plugins", @config.plugins.join(","),
           "--internal-connection-lifetime",
-            @config.internal_connection_lifetime,
+            @config.internal_connection_lifetime.to_s,
         ]
         options = {
           control_write_in => control_write_in,
-------------- next part --------------
HTML����������������������������...
下載 



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