YUKI Hiroshi
null+****@clear*****
Thu Oct 30 13:33:26 JST 2014
YUKI Hiroshi 2014-10-30 13:33:26 +0900 (Thu, 30 Oct 2014) New Revision: 9fd346d1cf0cd12d98f660f86d67a921162afb93 https://github.com/droonga/droonga-http-server/commit/9fd346d1cf0cd12d98f660f86d67a921162afb93 Message: Initialize list of engine hosts on the startup Modified files: bin/droonga-http-server Modified: bin/droonga-http-server (+10 -0) =================================================================== --- bin/droonga-http-server 2014-10-17 13:32:06 +0900 (1d549b6) +++ bin/droonga-http-server 2014-10-30 13:33:26 +0900 (1744c8f) @@ -125,6 +125,16 @@ application.droonga({ plugins: options.plugins }); +application.connectionPool.updateHostNamesFromCatalog() + .then(function(hostNames) { + logger.info('List of droonga-engine hosts is successfully initialized from the remote catalog.'); + logger.info(hostNames); + }) + .catch(function(error) { + logger.error('Failed to initialize the list of droonga-engine hosts from the remote catalog.'); + logger.error(error); + }); + server.listen(options.port); function shutdown() { -------------- next part -------------- HTML����������������������������...Télécharger