null+****@clear*****
null+****@clear*****
2012年 8月 9日 (木) 17:25:21 JST
SHIMODA Hiroshi 2012-08-09 17:25:21 +0900 (Thu, 09 Aug 2012) New Revision: 66028cd16e4fe322d122c1bcb1c3429c334c1ec1 https://github.com/groonga/gcs/commit/66028cd16e4fe322d122c1bcb1c3429c334c1ec1 Log: Use batch processor correctly Modified files: bin/gcs-post-sdf Modified: bin/gcs-post-sdf (+2 -1) =================================================================== --- bin/gcs-post-sdf 2012-08-09 17:23:56 +0900 (5a96522) +++ bin/gcs-post-sdf 2012-08-09 17:25:21 +0900 (70bfbc3) @@ -3,6 +3,7 @@ var CLI = require(__dirname + '/../lib/command-line').CommandLineInterface; var commandLine = new CLI(); var fs = require('fs'); +var BatchProcessor = require(__dirname + '/../lib/batch').Processor; commandLine .usage('--source <path to SDF file> [options]') @@ -55,7 +56,7 @@ try { return process.exit(1); } -processor.load(batches); +processor.load(batches) .next(function(result) { console.log('Status: %s', result.status); console.log('Added: %s', result.adds); -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...下载