这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix unexpired destinations limit return to handle new algorithm #650

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

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

ThomasQuesadilla
Copy link
Collaborator

@ThomasQuesadilla ThomasQuesadilla commented Dec 12, 2022

The algorithm changes for checking unexpired destination limit from #601 includes appending the new source's destinations with the set holding the currently stored destinations when checking if the size has surpassed the max destinations per source site. Previously, the new source's destination was never appended to this set, so it made sense to have the set's size check be greater than or equal to the max limit, but now it makes more sense to make the condition just greater than.


Preview | Diff

@csharrison
Copy link
Collaborator

I would avoid using the term "implementation" to refer to a spec algorithm. Can you reword the subject / description to use something like "algorithm" instead?

@apasel422 apasel422 changed the title Fix unexpired destinations limit return to handle new implementation Fix unexpired destinations limit return to handle new algorithm Dec 15, 2022
@apasel422 apasel422 merged commit e4e5bf8 into main Dec 15, 2022
@apasel422 apasel422 deleted the inclusiveMaxDestinations branch December 15, 2022 13:35
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