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 the error of duplicate signing within multiple threads #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

henry42
Copy link

@henry42 henry42 commented May 17, 2024

Description

If you use the signer or client in multiple threads, updates to the signature may not be locked and generated too frequently, which can result in Apple rejecting it with '429 The provider token is being updated too frequently.' This pull request fixes the issue, albeit in an ugly but effective way.

How Has This Been Tested?

There is a test function named test_signature_caching_in_multithreads.

Due Dilligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@henry42 henry42 requested a review from geekbrother as a code owner May 17, 2024 12:28
chris13524
chris13524 previously approved these changes May 17, 2024
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.

2 participants