[Groonga-commit] droonga/droonga-http-server at ca06ebf [master] Use droonga-engine's host name as the receiver host name of myself, if the engine works on the same computer

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Aug 29 16:26:19 JST 2014


YUKI Hiroshi	2014-08-29 16:26:19 +0900 (Fri, 29 Aug 2014)

  New Revision: ca06ebfe6ca24d67531b66e53215f7f7b62403c1
  https://github.com/droonga/droonga-http-server/commit/ca06ebfe6ca24d67531b66e53215f7f7b62403c1

  Message:
    Use droonga-engine's host name as the receiver host name of myself, if the engine works on the same computer

  Modified files:
    lib/default-configs.js

  Modified: lib/default-configs.js (+5 -1)
===================================================================
--- lib/default-configs.js    2014-08-29 16:21:31 +0900 (a127ac3)
+++ lib/default-configs.js    2014-08-29 16:26:19 +0900 (533f14f)
@@ -61,7 +61,11 @@ define(configs, 'engine.host',            engineConfigs.host);
 define(configs, 'engine.port',            engineConfigs.port);
 define(configs, 'engine.tag',             engineConfigs.tag);
 define(configs, 'engine.default_dataset', 'Default');
-define(configs, 'engine.receiver_host',   '127.0.0.1');
+// We can use the host name of the droogna-engine as the receiver host
+// of the http server, because this computer works as a droonga-engine
+// node and it is guaranteed that this computer can be accessed with
+// the host name.
+define(configs, 'engine.receiver_host',   engineConfigs.host);
 
 configs.baseDir = baseDir;
 
-------------- next part --------------
HTML����������������������������...
Download 



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