Skip to content

Commit

Permalink
build fix: stop using UseBackgroundThreadsForIO, which got deprecated…
Browse files Browse the repository at this point in the history
… and removed (it was unused), see rabbitmq/rabbitmq-dotnet-client#846 for more details
  • Loading branch information
adamsitnik committed Nov 23, 2023
1 parent caa75b5 commit 8b35098
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/HealthChecks.Rabbitmq/RabbitMQHealthCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ private IConnection EnsureConnection()
factory = new ConnectionFactory
{
Uri = _options.ConnectionUri,
AutomaticRecoveryEnabled = true,
UseBackgroundThreadsForIO = true
AutomaticRecoveryEnabled = true
};
if (_options.RequestedConnectionTimeout is not null)
Expand Down

0 comments on commit 8b35098

Please sign in to comment.