Skip to content
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

chunk_size must not be zero #12

Closed
robfitzgerald opened this issue Nov 6, 2023 · 0 comments · Fixed by #13
Closed

chunk_size must not be zero #12

robfitzgerald opened this issue Nov 6, 2023 · 0 comments · Fixed by #13
Assignees
Labels
bug Something isn't working

Comments

@robfitzgerald
Copy link
Collaborator

problem

i ran a grid search test which used different destination coordinates. the configuration i used didn't include the grid search plugin. the rtree was unable to parse a destination vertex. the only error i received was:

[2023-11-06T15:36:58Z INFO  routee_compass::app::compass::compass_app] creating 2 parallel batches across 16 threads to run queries with chunk size 0
thread 'main' panicked at 'chunk_size must not be zero', routee-compass/src/app/compass/compass_app.rs:241:14

the error should be that "destination vertex is missing" and it should not blow up the application (error JSON response).

@robfitzgerald robfitzgerald added the bug Something isn't working label Nov 6, 2023
@robfitzgerald robfitzgerald self-assigned this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant