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

feat: shuffle the result of StorageProviders query method #520

Merged
merged 1 commit into from Nov 8, 2023

Conversation

Pythonberg1997
Copy link
Contributor

Description

This pr is to optimize the StorageProviders method

Rationale

To prevent traffic from being concentrated on the first sp, we randomly sorted the returned sps list

Changes

Notable changes:

  • shuffle the result of StorageProviders query method before return

@Pythonberg1997 Pythonberg1997 changed the base branch from master to develop November 8, 2023 09:08
@unclezoro unclezoro added this pull request to the merge queue Nov 8, 2023
Merged via the queue into bnb-chain:develop with commit bee4346 Nov 8, 2023
5 checks passed
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.

None yet

3 participants