Skip to content

Commit

Permalink
Merge pull request #720 from badsyntax/max_receive_message_length
Browse files Browse the repository at this point in the history
Don't set a limit on grpc max receive message length
  • Loading branch information
badsyntax authored Oct 1, 2020
2 parents 4e39398 + e3e06a2 commit 7281855
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extension/src/client/GradleClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ export class GradleClient implements vscode.Disposable {
this.grpcClient = new GrpcClient(
`localhost:${this.server.getPort()}`,
grpc.credentials.createInsecure(),
{ 'grpc.enable_http_proxy': 0 }
{
'grpc.enable_http_proxy': 0,
'grpc.max_receive_message_length': -1,
}
);
grpc.setLogger(this.clientLogger);
const deadline = new Date();
Expand Down

0 comments on commit 7281855

Please sign in to comment.