[Groonga-commit] droonga/droonga-http-server at d56f81d [master] Don't touch internal APIs directly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 5 16:57:51 JST 2014


YUKI Hiroshi	2014-11-05 16:57:51 +0900 (Wed, 05 Nov 2014)

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

  Message:
    Don't touch internal APIs directly

  Modified files:
    bin/droonga-http-server

  Modified: bin/droonga-http-server (+2 -4)
===================================================================
--- bin/droonga-http-server    2014-11-05 16:08:25 +0900 (b5094f0)
+++ bin/droonga-http-server    2014-11-05 16:57:51 +0900 (bce50d4)
@@ -123,15 +123,13 @@ application.droonga({
   hostName:        options.droongaEngineHostName,
   port:            options.droongaEnginePort,
   plugins:         options.plugins,
-  serf:            path.resolve(baseDir, 'serf')
+  serf:            path.resolve(baseDir, 'serf'),
+  syncHostNames:   true
 });
 
-application.connectionPool.startSyncHostNamesFromCluster();
-
 server.listen(options.port, options.host);
 
 function shutdown() {
-  application.connectionPool.stopSyncHostNamesFromCluster();
   server.close();
   if (options.pidFile && fs.existsSync(options.pidFile)) {
     fs.unlinkSync(options.pidFile);
-------------- next part --------------
HTML����������������������������...
Download 



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