Refresh feed once a minute

This commit is contained in:
Claudio Ortolina
2024-11-04 12:22:51 +00:00
parent 065ca4bf7c
commit 7b8bb61705
+1 -1
View File
@@ -5,7 +5,7 @@ defmodule LastFm.Refresh do
alias LastFm.Feed
@refresh_interval System.convert_time_unit(10, :second, :millisecond)
@refresh_interval System.convert_time_unit(60, :second, :millisecond)
def start_link(config) do
GenServer.start_link(__MODULE__, config, name: __MODULE__)