We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25b984d commit 60d685dCopy full SHA for 60d685d
aws/retry/middleware.go
@@ -52,12 +52,8 @@ type Attempt struct {
52
requestCloner RequestCloner
53
}
54
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.
+// define the threshold at which we will consider certain kind of errors to be probably
+// caused by clock skew
61
const skewThreshold = 4 * time.Minute
62
63
// NewAttemptMiddleware returns a new Attempt retry middleware.
0 commit comments