Skip to content

Commit 66a908a

Browse files
Travis Nickelsbording
authored andcommitted
Remove HttpClient and testing for it
1 parent 5ec8560 commit 66a908a

File tree

2 files changed

+0
-158
lines changed

2 files changed

+0
-158
lines changed

src/ServiceControl.Transports.RabbitMQ/RabbitMQQuery.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,6 @@ void CheckLegacySettings(ReadOnlyDictionary<string, string> settings, string key
6767
}
6868
}
6969

70-
// TODO: Determine if this needs to be updated in the RabbitMQ Transport
71-
protected virtual HttpClient CreateHttpClient(NetworkCredential defaultCredential, string apiUrl) =>
72-
new(new SocketsHttpHandler
73-
{
74-
Credentials = defaultCredential,
75-
PooledConnectionLifetime = TimeSpan.FromMinutes(2)
76-
})
77-
{ BaseAddress = new Uri(apiUrl) };
78-
7970
public override async IAsyncEnumerable<QueueThroughput> GetThroughputPerDay(IBrokerQueue brokerQueue,
8071
DateOnly startDate,
8172
[EnumeratorCancellation] CancellationToken cancellationToken = default)

src/ServiceControl.Transports.RabbitMQQuorumDirectRouting.Tests/RabbitMQQuery_ResponseParsing_Tests.cs

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)