From a67c8c320ff89515bc7318b147c0ee4b32314983 Mon Sep 17 00:00:00 2001 From: Kim Date: Wed, 21 Aug 2024 13:56:08 -0400 Subject: [PATCH] increase buffer to account for negative departures --- lib/predictions/predictions.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/predictions/predictions.ex b/lib/predictions/predictions.ex index 8dc4addf..c96148c7 100644 --- a/lib/predictions/predictions.ex +++ b/lib/predictions/predictions.ex @@ -23,7 +23,7 @@ defmodule Predictions.Predictions do |> Enum.reject( &((is_nil(&1.seconds_until_arrival) and is_nil(&1.seconds_until_departure) and is_nil(&1.seconds_until_passthrough)) or - (&1.seconds_until_departure && &1.seconds_until_departure < -5)) + (&1.seconds_until_departure && &1.seconds_until_departure < -10)) ) vehicles_running_revenue_trips =