YUKI Hiroshi
null+****@clear*****
Mon Jan 6 16:48:33 JST 2014
YUKI Hiroshi 2014-01-06 16:48:33 +0900 (Mon, 06 Jan 2014) New Revision: f020680a714fc2519ea340cdd165ec4234191dbf https://github.com/droonga/express-droonga/commit/f020680a714fc2519ea340cdd165ec4234191dbf Message: Define options for the connection wrapper Modified files: lib/adapter/http.js Modified: lib/adapter/http.js (+4 -0) =================================================================== --- lib/adapter/http.js 2014-01-06 16:30:22 +0900 (c415b77) +++ lib/adapter/http.js 2014-01-06 16:48:33 +0900 (4c726a1) @@ -59,6 +59,10 @@ function createGenericHandler(params) { return (function(request, response) { debug('adapter.http.createGenericHandler.handle'); + var options = { + dataset: definition.dataset, + timeout: definition.timeout || null + }; var wrappedConnection = new wrapper.DroongaProtocolConnectionWrapper(connection, options); try { definition.onHandle(request, response, wrappedConnection); -------------- next part -------------- HTML����������������������������...Download