
commit 08a8a747fdfbf5c692067b9b9413387f93da6faf Author: Karsten Loesing <karsten.loesing@gmx.net> Date: Fri Feb 6 19:26:31 2015 +0100 Stop ignoring certain bridge network statuses (#8462). Up to one month ago, Tonga published a new bridge network status every half hour. We didn't want to process that much data and simply ignored statuses published after :30 of the hour. But with the recent change to only one status per hour, it's possible that all statuses are published after :30 of the hour, and then we ignore all them all. Stop ignoring those statuses. In fact, it doesn't really matter if we process more than one status per hour, because duplicate lines will simply be removed as part of the database import process. --- task-8462/src/Parse.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/task-8462/src/Parse.java b/task-8462/src/Parse.java index 1b81d96..60b087d 100644 --- a/task-8462/src/Parse.java +++ b/task-8462/src/Parse.java @@ -370,10 +370,6 @@ public class Parse { private static void parseBridgeNetworkStatus(BridgeNetworkStatus status) throws IOException { - if (status.getPublishedMillis() % ONE_HOUR_MILLIS - > ONE_HOUR_MILLIS / 2) { - return; - } long publishedMillis = status.getPublishedMillis(); long fromMillis = (publishedMillis / ONE_HOUR_MILLIS) * ONE_HOUR_MILLIS;