Skip to content

Commit

Permalink
bug fix child stop topographical place ref update
Browse files Browse the repository at this point in the history
  • Loading branch information
assadriaz committed Feb 5, 2024
1 parent 062854e commit be15f5a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ public void updateStopsLegacy() {
if (optionalStopPlace.isPresent()) {
stopsSaved.incrementAndGet();
StopPlace stopPlaceToSave = optionalStopPlace.get();
if (stopPlaceToSave.getValidBetween().getToDate() == null || stopPlaceToSave.getValidBetween().getToDate().isAfter(Instant.now())) {
stopPlaceToSave.setChanged(Instant.now());

// Issues with topographic place not being updated.
Expand All @@ -180,9 +179,6 @@ public void updateStopsLegacy() {
} else {
sessionEntitiesEvictor.evictKnownEntitiesFromSession(stopPlaceToSave);
}
} else {
logger.info("Skipping stop place update, cause its not current {}", stopPlaceToSave);
}
} else if (!stopPlaceIterator.hasNextParent()) {
session.flush();
session.clear();
Expand Down

0 comments on commit be15f5a

Please sign in to comment.