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

fix(sns-downloader): fixing limit and better hashing #190

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

NikolaMilosa
Copy link
Contributor

@NikolaMilosa NikolaMilosa commented Feb 13, 2024

Adding a forgotten limit parameter since by default the limit is 20. Right now there are 23 SNSes meaning 3 were never aquired.
Apart from that added sorting of SNSes and Canisters in each Sns by canister_id so we have deterministic hashing and we don't reload vector all the time.

@NikolaMilosa NikolaMilosa requested a review from a team as a code owner February 13, 2024 10:11
Copy link
Member

@sasa-tomic sasa-tomic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

rs/ic-observability/sns-downloader/src/downloader_loop.rs Outdated Show resolved Hide resolved
Copy link
Member

@sasa-tomic sasa-tomic left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@NikolaMilosa NikolaMilosa added this pull request to the merge queue Feb 13, 2024
Merged via the queue into main with commit 8584071 Feb 13, 2024
3 checks passed
@NikolaMilosa NikolaMilosa deleted the nm-extending-sns-disc branch February 13, 2024 11:51
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.

2 participants