Skip to content

Commit

Permalink
fix: Add workaround for connectivity issue (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemaitre-aneo authored Jul 19, 2024
2 parents 94489a7 + 625c5a1 commit 9869f3a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of the ArmoniK project
//
// Copyright (C) ANEO, 2021-2022. All rights reserved.
// Copyright (C) ANEO, 2021-2024. All rights reserved.
// W. Kirschenmann <wkirschenmann@aneo.fr>
// J. Gurhem <jgurhem@aneo.fr>
// D. Dubuc <ddubuc@aneo.fr>
Expand Down Expand Up @@ -91,6 +91,10 @@ private ChannelBase BuildUnixSocketGrpcChannel(string address,

var udsEndPoint = new UnixDomainSocketEndPoint(address);

// Workaround for connectivity issue: https://github.com/grpc/grpc-dotnet/issues/2361#issuecomment-1895791020
AppContext.SetSwitch("System.Net.SocketsHttpHandler.Http2FlowControl.DisableDynamicWindowSizing",
true);

var socketsHttpHandler = new SocketsHttpHandler
{
ConnectCallback = async (_,
Expand Down

0 comments on commit 9869f3a

Please sign in to comment.