Shorten timeouts for Last.fm api

Especially when the application wakes up from suspension, requests tend
to timeout.
This commit is contained in:
Claudio Ortolina
2025-02-09 08:07:27 +00:00
parent 4593b60da5
commit 828563e933
+2 -2
View File
@@ -12,8 +12,8 @@ defmodule LastFm.APIImpl do
# so we make them shorter to leverage retries
@request_opts [
pool_timeout: 1000,
receive_timeout: 3000,
request_timeout: 4500
receive_timeout: 1000,
request_timeout: 2500
]
@impl true