Skip to content

Commit

Permalink
GODRIVER-2348 Remove unused topology struct
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Feb 8, 2024
1 parent 2501fe8 commit a56844e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/csot/csot.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ func IsSkipMaxTimeContext(ctx context.Context) bool {
return ctx.Value(skipMaxTime{}) != nil
}

type Topology struct {
Timeout *time.Duration
ServerSelectionTimeout time.Duration
}

// WithServerSelectionTimeout creates a context with a timeout that is the
// minimum of serverSelectionTimeoutMS and context deadline. The usage of
// non-positive values for serverSelectionTimeoutMS are an anti-pattern and are
Expand Down

0 comments on commit a56844e

Please sign in to comment.