mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-19 08:50:29 +00:00
Merge branch 'main' into chore/add-resolver-tests
This commit is contained in:
@@ -51,6 +51,10 @@ export class TimedApiBasedRepositoryLoader extends ApiBasedRepositoryLoader {
|
|||||||
await this.fetchAndUpdateRouteDataForExistingSystemsInRepository();
|
await this.fetchAndUpdateRouteDataForExistingSystemsInRepository();
|
||||||
await this.fetchAndUpdateStopAndPolylineDataForRoutesInExistingSystemsInRepository();
|
await this.fetchAndUpdateStopAndPolylineDataForRoutesInExistingSystemsInRepository();
|
||||||
await this.fetchAndUpdateShuttleDataForExistingSystemsInRepository();
|
await this.fetchAndUpdateShuttleDataForExistingSystemsInRepository();
|
||||||
|
|
||||||
|
// Because ETA method doesn't support pruning yet,
|
||||||
|
// add a call to the clear method here
|
||||||
|
await this.repository.clearEtaData();
|
||||||
await this.fetchAndUpdateEtaDataForExistingStopsForSystemsInRepository();
|
await this.fetchAndUpdateEtaDataForExistingStopsForSystemsInRepository();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user