-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: reduce API request volume on DUPs
Previously DUPs made one routes-serving-stop API request for every stop ID configured for every section. This may be inefficient given the API supports filtering by many stop IDs in one request, and suspiciously, DUPs configured with more stop IDs seem to encounter the "Failed to get section data" crash more often. This enhances our routes-serving-stop fetching to support more than one stop ID, and passes in the entire list of stop IDs for each DUP section.
- Loading branch information
1 parent
ecd0415
commit 28f32d6
Showing
6 changed files
with
80 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.