Update token refresh threshold

(cherry picked from commit 0f58a07d541a4c513a1116779b0d3ff05418f595)
This commit is contained in:
michaldrabik
2025-02-06 10:02:16 +01:00
parent c7241cf8a6
commit 80543b8af0

View File

@ -10,7 +10,7 @@ object Config {
const val TRAKT_REDIRECT_URL = "showly2://trakt"
const val TRAKT_AUTHORIZE_URL =
"https://trakt.tv/oauth/authorize?response_type=code&client_id=$TRAKT_CLIENT_ID&redirect_uri=$TRAKT_REDIRECT_URL"
val TRAKT_TOKEN_REFRESH_DURATION: Duration = Duration.ofMinutes(90)
val TRAKT_TOKEN_REFRESH_DURATION: Duration = Duration.ofHours(12)
const val TRAKT_POPULAR_SHOWS_LIMIT = 100
const val TRAKT_POPULAR_MOVIES_LIMIT = 50