WIP - Dynamically calculate the cost for the entire response.
Add 1 unit to the cost for every node returned.
raise a QueryCostError if the number goes beyond a threshold.
Related to T4299
Differential D8334
[WIP] Add a dynamic query cost calculator jayeshv on Aug 29 2022, 4:00 PM. Authored by Tags None Subscribers None
Details
WIP - Dynamically calculate the cost for the entire response. Related to T4299
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8334 (id=30093)Rebasing onto 4478a533a9... Current branch diff-target is up to date. Changes applied before testcommit 2717f93a571b793ec87487873c740016d7b84ed7 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Mon Aug 29 13:37:18 2022 +0200 Add a dynamic query cost calculator Dynamically calculate the cost for the entire response. Add 1 unit to the cost for every node returned. raise a QueryCostError if the number goes beyond a threshold. Related to T4299 See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/136/ for more details. |