Skip to content

Commit

Permalink
increase buffer to account for negative departures
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulJKim committed Aug 21, 2024
1 parent 0f11d6b commit a67c8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/predictions/predictions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit a67c8c3

Please sign in to comment.