-
Notifications
You must be signed in to change notification settings - Fork 411
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
fix: matrix limit not respected #1875
Conversation
passing 'all' to 'sources' or 'directions' in a request was counted as 1 instead of the amount of locations, so all-to-all matrix requests were treated as a 1x1 when checking against the 'maximum_routes' setting. Fixed by checking if sources/destinations is 'all' and then counting locations
Quality Gate passedIssues Measures |
Is it actually desired to allow passing a String value of |
Can we discuss this in a separate issue please. Currently you can circumvent the config limit. That's fixed with the PR. Being able to set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, cheers! 🌈
Pull Request Checklist
have been resolved.
[Unreleased] heading.
along with a short description of what it is for, and documented this in the Pull Request (below).
(at least Germany), and the graphs build without problems (i.e. no out-of-memory errors).
importer etc.), I have generated longer distance routes for the affected profiles with different options
(avoid features, max weight etc.) and compared these with the routes of the same parameters and start/end
points generated from the current live ORS.
If there are differences then the reasoning for these MUST be documented in the pull request.
and why the change was needed.
Information about the changes
Examples and reasons for differences between live ORS routes, and those generated from this pull request
Required changes to ors config (if applicable)