From a56844e2a7938a61fb5ffe120fc5eac1b3dfbdae Mon Sep 17 00:00:00 2001 From: Preston Vasquez <24281431+prestonvasquez@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:06:15 -0700 Subject: [PATCH] GODRIVER-2348 Remove unused topology struct --- internal/csot/csot.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/csot/csot.go b/internal/csot/csot.go index 6395e080a0..73cec627f6 100644 --- a/internal/csot/csot.go +++ b/internal/csot/csot.go @@ -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