We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LastUpdateTimestamp
1 parent 6bda3fe commit 262f933Copy full SHA for 262f933
src/MongoDB.Driver.Core/Core/Servers/ServerDescription.cs
@@ -547,7 +547,7 @@ public ServerDescription WithHeartbeatException(Exception heartbeatException)
547
electionId: _electionId,
548
heartbeatException: heartbeatException,
549
heartbeatInterval: _heartbeatInterval,
550
- lastUpdateTimestamp: _lastUpdateTimestamp,
+ lastUpdateTimestamp: DateTime.UtcNow,
551
lastWriteTimestamp: _lastWriteTimestamp,
552
logicalSessionTimeout: _logicalSessionTimeout,
553
maxBatchCount: _maxBatchCount,
0 commit comments