From 06eb6a12d6bc24461369facca671b07dc016ff5e Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Fri, 8 May 2026 15:52:02 +0200 Subject: [PATCH] Queue bulk migration search match update requests Prevent spamming the source with requests --- src/features/migration/MigrationManager.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/features/migration/MigrationManager.ts b/src/features/migration/MigrationManager.ts index c1a695de..9e00eb1f 100644 --- a/src/features/migration/MigrationManager.ts +++ b/src/features/migration/MigrationManager.ts @@ -733,9 +733,12 @@ export class MigrationManager { return (async () => { try { - const updatedMatch = await requestManager.refreshManga(match.id, { - awaitRefetchQueries: true, - }).response; + const updatedMatch = await MigrationManager.getOrCreateSourceQueue(sourceId)( + () => + requestManager.refreshManga(match.id, { + awaitRefetchQueries: true, + }).response, + ); return updatedMatch.data?.fetchManga?.manga ?? match; } catch (e) {