start time runtime env fix

This commit is contained in:
Owen
2024-12-17 11:12:14 +01:00
parent 040ff63e6d
commit 5dd069d589
3 changed files with 4 additions and 7 deletions
-4
View File
@@ -5,10 +5,6 @@ defmodule PlantIdDiscordBot.Application do
@impl true
def start(_type, _args) do
# Set the start time for the application
start_time = DateTime.utc_now()
Application.put_env(:plantid_discord_bot, :start_time, start_time)
children = [
PlantIdDiscordBot.Consumer,
PlantIdDiscordBot.RateLimiter,