-
Notifications
You must be signed in to change notification settings - Fork 613
Closed
Milestone
Description
We are creating a ConnectionFactory with custom timeouts and then we are creating Connection
var connectionFactory = new ConnectionFactory
{
HostName = <uri>,
AutomaticRecoveryEnabled = true,
NetworkRecoveryInterval = TimeSpan.FromSeconds(10),
ContinuationTimeout = TimeSpan.FromSeconds(10),
HandshakeContinuationTimeout = TimeSpan.FromSeconds(10),
RequestedConnectionTimeout = TimeSpan.FromSeconds(10),
SocketReadTimeout = TimeSpan.FromSeconds(10),
SocketWriteTimeout = TimeSpan.FromSeconds(10),
RequestedHeartbeat = TimeSpan.FromSeconds(10),
};
var connection = connectionFactory.CreateConnection();
var publisherChannel = _connection.CreateModel();
// while inspecting `publisherChannel` has `ContinuationTimeout` of 20s
Somehow
rabbitmq-dotnet-client/projects/client/RabbitMQ.Client/src/client/impl/Connection.cs
Line 1207 in 93cdd66
| model.ContinuationTimeout = m_factory.ContinuationTimeout; |
Metadata
Metadata
Assignees
Labels
No labels

