Skip to content

Commit 60d685d

Browse files
committed
fix comment
1 parent 25b984d commit 60d685d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

aws/retry/middleware.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,8 @@ type Attempt struct {
5252
requestCloner RequestCloner
5353
}
5454

55-
// skewThreshold is used for several things:
56-
// - It defines the threshold at which we will consider certain kind of errors
57-
// to be probably caused by clock skew
58-
// - It is the threshold at which we actually treat client and server clock
59-
// difference as a significant skew such that we store it back to the client to
60-
// be reused in subsequent requests.
55+
// define the threshold at which we will consider certain kind of errors to be probably
56+
// caused by clock skew
6157
const skewThreshold = 4 * time.Minute
6258

6359
// NewAttemptMiddleware returns a new Attempt retry middleware.

0 commit comments

Comments
 (0)