Used to implement DoS protection (T3161)
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Commits
- rDGRPH32d6b0ccf3b1: Add max_edges argument to all the endpoints
The unit tests already go through all the affected codepaths.
Diff Detail
Diff Detail
- Repository
- rDGRPH Compressed graph representation
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D6892 (id=24998)
Rebasing onto 4d36535f9e...
Current branch diff-target is up to date.
Changes applied before test
commit 32d6b0ccf3b15e098b4321938f3ce690f9eae7d2 Author: Antoine Pietri <antoine.pietri1@gmail.com> Date: Fri Jan 7 15:58:59 2022 +0100 Add max_edges argument to all the endpoints
See https://jenkins.softwareheritage.org/job/DGRPH/job/tests-on-diff/144/ for more details.
Comment Actions
The unit tests already go through all the affected codepaths
I don't know the code base enough.
The coverage report does not seem to agree though ;)
Comment Actions
The coverage report does not seem to agree though ;)
The coverage is broken because we spawn the server in a separate process. I should file a separate task to fix this.
Comment Actions
Looks good to me. I do not know the codebase of swh-graph really well but I do not see what could go wrong considering the few changes.