Skip to content

Commit 1372598

Browse files
Rename SINGLETON_HTTPCLIENT to HTTPCLIENT_SINGLETON to maintain consistency with other keys, such as HTTPCLIENT_MAX_PER_ROUTE
1 parent 54af1d3 commit 1372598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Core/gxconfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,7 @@ internal static bool SingletonHttpClient()
14491449
{
14501450
if (singletonHttpClient == -1)
14511451
{
1452-
if (Config.GetValueOrEnvironmentVarOf("SINGLETON_HTTPCLIENT", out string sValue) && int.TryParse(sValue, out int value))
1452+
if (Config.GetValueOrEnvironmentVarOf("HTTPCLIENT_SINGLETON", out string sValue) && int.TryParse(sValue, out int value))
14531453
singletonHttpClient = value;
14541454
else
14551455
singletonHttpClient = 1;

0 commit comments

Comments
 (0)