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.
1 parent 5f449ba commit 1e246bdCopy full SHA for 1e246bd
mongo/integration/unified/client_entity.go
@@ -183,7 +183,7 @@ func (c *clientEntity) numberConnectionsCheckedOut() int32 {
183
}
184
185
func getSecondsSinceEpoch() float64 {
186
- return float64(time.Now().Unix())
+ return float64(time.Now().UnixNano()) / float64(time.Second/time.Nanosecond)
187
188
189
func (c *clientEntity) processStartedEvent(_ context.Context, evt *event.CommandStartedEvent) {
0 commit comments