Skip to content

Commit 8b35098

Browse files
committed
build fix: stop using UseBackgroundThreadsForIO, which got deprecated and removed (it was unused), see rabbitmq/rabbitmq-dotnet-client#846 for more details
1 parent caa75b5 commit 8b35098

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/HealthChecks.Rabbitmq/RabbitMQHealthCheck.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ private IConnection EnsureConnection()
5252
factory = new ConnectionFactory
5353
{
5454
Uri = _options.ConnectionUri,
55-
AutomaticRecoveryEnabled = true,
56-
UseBackgroundThreadsForIO = true
55+
AutomaticRecoveryEnabled = true
5756
};
5857

5958
if (_options.RequestedConnectionTimeout is not null)

0 commit comments

Comments
 (0)