Skip to content

solana: Fix rate limit reset on peer upgrade#607

Merged
nvsriram merged 1 commit intomainfrom
solana/fix-rate-limit-reset-on-peer-upgrade
Apr 17, 2025
Merged

solana: Fix rate limit reset on peer upgrade#607
nvsriram merged 1 commit intomainfrom
solana/fix-rate-limit-reset-on-peer-upgrade

Conversation

@nvsriram
Copy link
Copy Markdown
Contributor

Currently when peer is upgraded, the rate limit is reset.
This PR sets rate limit to new rate limit if the rate limit is uninitialized/unused. Otherwise it updates the rate limit.

@nvsriram nvsriram force-pushed the solana/fix-rate-limit-reset-on-peer-upgrade branch from cb38f62 to 53c92fe Compare April 16, 2025 15:00
@nvsriram nvsriram marked this pull request as ready for review April 16, 2025 15:44
@nvsriram nvsriram requested review from kcsongor and mdulin2 April 16, 2025 15:45
Copy link
Copy Markdown
Contributor

@kcsongor kcsongor left a comment

Choose a reason for hiding this comment

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

nice!

@nvsriram nvsriram force-pushed the solana/fix-rate-limit-reset-on-peer-upgrade branch from 53c92fe to b1b960b Compare April 16, 2025 21:03
@nvsriram nvsriram merged commit 0dc1596 into main Apr 17, 2025
9 checks passed
@nvsriram nvsriram deleted the solana/fix-rate-limit-reset-on-peer-upgrade branch April 17, 2025 02:54
SC4RECOIN added a commit to m0-foundation/solana-m that referenced this pull request Jul 29, 2025
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.

3 participants