mirror of https://github.com/grpc/grpc-node.git
Added a 1MB maxBuffer since the default 200kb is too small on larger proto codebases
This commit is contained in:
parent
07ace87c1a
commit
4ed3d5452c
|
@ -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 * 1000}, function(error, stdout, stderr) {
|
||||||
if (error) {
|
if (error) {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue