Explicitly set auto-refresh config for LastFm refresh

This commit is contained in:
Claudio Ortolina
2024-12-03 19:58:17 +00:00
parent f58a5e83b7
commit 61cda5a62c
4 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -25,9 +25,9 @@ config :music_library, MusicLibraryWeb.Endpoint,
live_view: [signing_salt: "g/qw4SNo"]
config :music_library, LastFm,
# to avoid runtime errors, set the user to a valid Last.fm username
user: "username",
api: LastFm.APIImpl,
auto_refresh: true,
refresh_interval: System.convert_time_unit(60, :second, :millisecond),
api_key: "change me"