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

Remove MAXIMUM_SPONSOR_WALLET_REQUESTS to avoid throttling request fulfillments #1763

Merged
merged 10 commits into from
May 18, 2023

Conversation

alikonuk1
Copy link
Member

@alikonuk1 alikonuk1 commented May 8, 2023

This PR closes #1644 by removing the MAXIMUM_SPONSOR_WALLET_REQUESTS constant. The initial intention of this constant was to prevent a single user from monopolizing the Airnode response bandwidth. However, as discussed in this thread, this measure is not effective, and it may obstruct legitimate usage.

@alikonuk1 alikonuk1 requested review from dcroote and amarthadan May 9, 2023 07:55
Copy link
Contributor

@dcroote dcroote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment for clarification around the goal of the PR. Looking at the issue title I can see how this may have been unclear. Two other quick points:

  1. When your PR is ready to review, please mark it as such by clicking "Ready for review"
  2. See "2" within my comment here for the correct language to link a PR to an issue that the PR is closing.

packages/airnode-node/src/evm/requests/blocking.ts Outdated Show resolved Hide resolved
.changeset/sweet-tips-rule.md Outdated Show resolved Hide resolved
@alikonuk1 alikonuk1 marked this pull request as ready for review May 11, 2023 08:44
@alikonuk1
Copy link
Member Author

I kept the blocking.ts and blocking.test.ts just in case if we revisit this feature for potential future use. But these files can be removed completely since they are not used anymore, looking forward for any input on this.

@alikonuk1 alikonuk1 requested a review from dcroote May 16, 2023 15:44
@alikonuk1 alikonuk1 requested a review from dcroote May 17, 2023 10:24
@alikonuk1
Copy link
Member Author

Closes #1644

Copy link
Contributor

@dcroote dcroote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Approving with one nit- please feel free to squash & merge afterwards

@alikonuk1 alikonuk1 merged commit 15a1b07 into master May 18, 2023
@alikonuk1 alikonuk1 deleted the remove-max-req branch May 18, 2023 08:56
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.

Remove MAXIMUM_SPONSOR_WALLET_REQUESTS
3 participants