We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc427f1 commit 49d8656Copy full SHA for 49d8656
src/WebJobs.Extensions.DurableTask/LocalGrpcListener.cs
@@ -54,7 +54,13 @@ public Task StartAsync(CancellationToken cancelToken = default)
54
int numAttempts = 1;
55
while (numAttempts <= maxAttempts)
56
{
57
- this.grpcServer = new Server();
+ ChannelOption[] options = new[]
58
+ {
59
+ new ChannelOption(ChannelOptions.MaxReceiveMessageLength, int.MaxValue),
60
+ new ChannelOption(ChannelOptions.MaxSendMessageLength, int.MaxValue),
61
+ };
62
+
63
+ this.grpcServer = new Server(options);
64
this.grpcServer.Services.Add(P.TaskHubSidecarService.BindService(new TaskHubGrpcServer(this)));
65
66
int listeningPort = numAttempts == 1 ? DefaultPort : this.GetRandomPort();
0 commit comments