From b66eec827d50bb15b229dd6f4ab5cbd2bc0aa01a Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Thu, 20 Aug 2026 01:59:00 +0200 Subject: [PATCH] fix(trackers): use the shared refresh timeout for MAL token refresh MAL token refresh waited on the general 20s request timeout while the Trakt and MDBList refresh paths use the dedicated 15s refresh timeout, so a hung refresh held the 401 retry longer on MAL than on its siblings. Align MAL with the shared refreshTimeout. --- lib/services/trackers/mal/mal_auth_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/trackers/mal/mal_auth_service.dart b/lib/services/trackers/mal/mal_auth_service.dart index 513ef9a17..8da9e1f4e 100644 --- a/lib/services/trackers/mal/mal_auth_service.dart +++ b/lib/services/trackers/mal/mal_auth_service.dart @@ -51,7 +51,7 @@ class MalAuthService extends OAuthProxyAuthServiceBase { 'grant_type': 'refresh_token', 'refresh_token': current.requireRefreshToken(TrackerService.mal), }, - timeout: TrackerConstants.requestTimeout, + timeout: TrackerConstants.refreshTimeout, operation: 'MAL token refresh', );