From 7457498f5bf3863ed9e1ced3bdc1e02971940f89 Mon Sep 17 00:00:00 2001 From: nk Date: Thu, 4 Jun 2026 10:10:39 +0300 Subject: [PATCH] =?UTF-8?q?perf(enrich):=20concurrency=208=20=E2=80=94=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=BE=D0=B1=D0=B0=20IP=20Discogs=20(RU+DE?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- src/enrich/enrichment.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enrich/enrichment.service.ts b/src/enrich/enrichment.service.ts index 9ba5e8c..e0dd3e6 100644 --- a/src/enrich/enrichment.service.ts +++ b/src/enrich/enrichment.service.ts @@ -19,8 +19,8 @@ export class EnrichmentService { private running = false; // Discogs сам себя лимитирует (rate-limiter в DiscogsService), поэтому можно // выше параллельность: обложки (iTunes, без лимита) льются быстрее. - private readonly throttleMs = 300; - private readonly concurrency = 5; + private readonly throttleMs = 200; + private readonly concurrency = 8; constructor( private readonly prisma: PrismaService,