Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
  • Loading branch information
matthewdale and benjirewis committed Jun 29, 2022
1 parent de1f214 commit ec1c890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/mongo/driver/topology/rtt_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type rttConfig struct {
// the operation, the RTT sample is discarded. The default is 1 minute.
timeout time.Duration

// Window size to calculate minimum RTT over.
minRTTWindow time.Duration
createConnectionFn func() *connection
createOperationFn func(driver.Connection) *operation.Hello
Expand Down

0 comments on commit ec1c890

Please sign in to comment.