Use new method origin_visit_get_with_statuses from storage interface
returning all visits and their statuses instead of querying latest
status for each visit.
Also bump the maximum number of visits per page from 50 to 1000.
Related to T4090
Differential D7559
common/archive: Improve lookup_origin_visits performance anlambert on Apr 12 2022, 4:32 PM. Authored by Tags None Subscribers None
Details
Use new method origin_visit_get_with_statuses from storage interface Also bump the maximum number of visits per page from 50 to 1000. Related to T4090
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D7559 (id=27399)Rebasing onto 96b38d9936... Current branch diff-target is up to date. Changes applied before testcommit 731e01f396c45e1455f66eb94022d0c1bad55d07 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Apr 12 13:43:03 2022 +0200 common/archive: Improve lookup_origin_visits performance Use new method origin_visit_get_with_statuses from storage interface returning all visits and their statuses instead of querying latest status for each visit. Also bump the maximum number of visits per page from 50 to 1000. Related to T4090 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1709/ for more details. |