-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
chore: added proposed solution of for #281 #297
chore: added proposed solution of for #281 #297
Conversation
AWS SSO has a throttle limit of 20 TPS (Transactions Per Second). https://docs.aws.amazon.com/singlesignon/latest/userguide/limits.html the method
execute a The endpoint request is called with this request
so each call to the endpoint is reiterated a number of times equal to Since Looking at the code in the pull request, Possible solutions IMHO:
I hope that these solutions can reach, without surpassing, the maximum allowed TPS limit and so maximize the speed of the sync process. |
…o-many-requests error
…yrequestsexception * master: (164 commits) chore: fixed latest changelog chore(release): release desktop app v0.13.0 chore(release): release desktop app v0.13.0 chore(release): release cli v0.1.14 chore(release): release cli v0.1.14 chore: updated cli version and documentation chore(release): release core v0.1.114 test: fixed azure-persistence-service os compatibility test: fixed azure-presistence-service tests on windows os chore(release): release core v0.1.114 fix: desktop app package.json dependencies versions docs: reviewd and corrected some typos in the docs fix: _workspaceVersion is a number and not a string fix: introduced a new independent workspaceVersion feat: reintroduced, refactored and partially tested retro compatibility service chore: removed delete button for azure in command session chore: added linux build test pipeline chore: test windows online pipeline chore: bump core version for local testing chore: added new azure integration demo video ... # Conflicts: # packages/core/src/services/integration/aws-sso-integration-service.ts
Changelog
changed getSession method for AWS Single Sign-On service for resolve #281
Bugfixes
Added solution in order to wait a specific time after getting more Session requests, to prevent TooManyRequest error from AWS
Notes
Still need to discuss with @ericvilla the best solution to solve this.
Need a way to add the wait time and number of integrations not as a magic-string but as parameters.
Thanks to @peteawood for the solution