Skip to content

Conversation

@paulo-ocean
Copy link
Contributor

@paulo-ocean paulo-ocean commented Dec 6, 2024

Fixes #780

Changes proposed in this PR:

  • rate connection limits per minute, per ip/peer
  • global command rate, all incoming

NOTE: the failing system tests is caused to the rate limit (the getDDO floods the node with requests until the DDO is indexed... as it keeps retrying every 1.5 seconds.. up to a max of 100 retries)
This will be fixed by oceanprotocol/ocean-cli#81 (increase rate limit setting for testing)

@paulo-ocean paulo-ocean self-assigned this Dec 6, 2024
@paulo-ocean paulo-ocean changed the title refactor connections rate, per minute not second Refactor connections rate, rate per minute instead of second Dec 6, 2024
@paulo-ocean paulo-ocean marked this pull request as ready for review December 11, 2024 13:12
Copy link
Contributor

@jamiehewitt15 jamiehewitt15 left a comment

Choose a reason for hiding this comment

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

Looks good to me

@mariacarmina
Copy link
Contributor

Can we resolve the conflicts here @paulo-ocean?

Copy link
Contributor

@mariacarmina mariacarmina left a comment

Choose a reason for hiding this comment

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

lgtm

@paulo-ocean paulo-ocean merged commit bc7edcc into main Jan 9, 2025
12 checks passed
@paulo-ocean paulo-ocean deleted the issue-780-rate-limmits branch January 9, 2025 11:34
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.

Rate limits

4 participants