Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineAugusti committed Dec 19, 2024
1 parent b6e2a34 commit 19601e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule TransportWeb.Plugs.WorkerHealthcheck do
def app_started_recently? do
start_datetime = app_start_datetime()
{delay, unit} = @app_start_waiting_delay
DateTime.before?(start_datetime, DateTime.add(start_datetime, delay, unit))
DateTime.before?(DateTime.utc_now(), DateTime.add(start_datetime, delay, unit))
end

def app_start_datetime do
Expand Down

0 comments on commit 19601e0

Please sign in to comment.