Skip to content

Commit

Permalink
Fix replication service heartbeat interval init.
Browse files Browse the repository at this point in the history
By using ReplicationHeartbeatInterval instead of NodeHeartbeatInterval.
  • Loading branch information
YoEight committed Jan 22, 2024
1 parent 1b632ee commit 4d2efb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventStore.Core/ClusterVNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ public class ClusterVNode<TStreamId> :
!disableInternalTcpTls, _internalServerCertificateValidator,
_certificateSelector,
TimeSpan.FromMilliseconds(options.Interface.ReplicationHeartbeatTimeout),
TimeSpan.FromMilliseconds(options.Interface.NodeHeartbeatInterval),
TimeSpan.FromMilliseconds(options.Interface.ReplicationHeartbeatInterval),
TimeSpan.FromMilliseconds(options.Database.WriteTimeoutMs));
_mainBus.Subscribe<SystemMessage.StateChangeMessage>(replicaService);
_mainBus.Subscribe<ReplicationMessage.ReconnectToLeader>(replicaService);
Expand Down

0 comments on commit 4d2efb9

Please sign in to comment.