hove-io / navitia

The open source software to build cool stuff with locomotion
https://www.navitia.io/
GNU Affero General Public License v3.0
428 stars 127 forks source link

[Distributed] Timeout when direct path takes too long #4251

Closed xlqian closed 3 months ago

xlqian commented 3 months ago

In Distributed, the direct path is the very first step performed by the algorithm and the process will NOT carry on until this step finishes. In cases where a VERY long direct path is required, serval hundreds of ms may elapse before Distributed could keep on.

The idea here is not to wait too long in the sections where the direct path is dispensable.

The chosen default timeout(100ms) is wholly empirical.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud