Merge pull request #226 from OlivierBoucher/master

Added a 100MB maxBuffer since the default 200kb is too small
This commit is contained in:
Michael Lumish 2018-03-27 17:09:32 -07:00 committed by GitHub
commit 257449853e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ var exe_ext = process.platform === 'win32' ? '.exe' : '';
var plugin = path.resolve(__dirname, 'grpc_node_plugin' + exe_ext); var plugin = path.resolve(__dirname, 'grpc_node_plugin' + exe_ext);
var child_process = execFile(plugin, process.argv.slice(2), {encoding: 'buffer'}, function(error, stdout, stderr) { var child_process = execFile(plugin, process.argv.slice(2), {encoding: 'buffer', maxBuffer: 1024 * 1024 * 100}, function(error, stdout, stderr) {
if (error) { if (error) {
throw error; throw error;
} }