If the latest origin visit matches some search criteria, return it instead of
fetching the whole visits list and searching in it.
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Commits
- rDWAPPS0cb8a778600e: common/origin_visits: Optimize get_origin_visit performance
Diff Detail
Diff Detail
- Repository
- rDWAPPS Web applications
- 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 D3762 (id=13235)
Rebasing onto 9924a39bc5...
Current branch diff-target is up to date.
Changes applied before test
commit 0cb8a778600e191fe935a3cb642772144b0d9839 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Tue Aug 11 19:02:51 2020 +0200 common/origin_visits: Optimize get_origin_visit performance If the latest origin visit matches some search criteria, return it instead of fetching the whole visits list and searching in it.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/322/ for more details.