Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api-rest): infinite retry when clock skew go back and forth #12488

Merged
merged 4 commits into from
Nov 6, 2023

Conversation

AllanZhengYP
Copy link
Member

Description of changes

This change makes sure when updating the clock skew offset, always compare to raw client clock instead the one adjusted by clock skew offset.

Issue #, if available

For more details on why this happens: #12450 (comment)

Description of how you validated changes

Unit test

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@AllanZhengYP AllanZhengYP requested review from a team as code owners November 1, 2023 00:06
erinleigh90
erinleigh90 previously approved these changes Nov 1, 2023
cshfang
cshfang previously approved these changes Nov 1, 2023
@AllanZhengYP AllanZhengYP dismissed stale reviews from cshfang and erinleigh90 via b3d6836 November 6, 2023 17:31
@AllanZhengYP AllanZhengYP requested a review from cshfang November 6, 2023 17:54
cshfang
cshfang previously approved these changes Nov 6, 2023
erinleigh90
erinleigh90 previously approved these changes Nov 6, 2023
@AllanZhengYP AllanZhengYP dismissed stale reviews from erinleigh90 and cshfang via 38904db November 6, 2023 21:25
@jimblanc jimblanc merged commit 095efac into aws-amplify:v5-stable Nov 6, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants