From cdcb4fd9bccda2613d598c2de20f443d9f63b317 Mon Sep 17 00:00:00 2001 From: Mikhail Kuznetsov Date: Mon, 20 Jul 2026 09:54:28 +1000 Subject: [PATCH] =?UTF-8?q?fix(unitFilter):=20=D0=A1=D0=BD=D0=B8=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D1=87?= =?UTF-8?q?=D0=B0=D0=BD=D0=BA=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D1=84=D0=B8?= =?UTF-8?q?=D0=BB=D1=8C=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D0=BE?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D1=8F=D0=BC=20=D0=B4=D0=BB=D1=8F=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BE?= =?UTF-8?q?=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20=D1=82=D0=B0=D0=B9=D0=BC=D0=B0?= =?UTF-8?q?=D1=83=D1=82=D0=B0=20=D0=BF=D1=80=D0=B8=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B5=20templateMatcher?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Matchers/Implemetations/UnitFieldMatcher.cs | 2 +- PARR.DAL/Repositories/Unit/UnitRepository.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PARR.Core/Services/UnitFilterService/Matchers/Implemetations/UnitFieldMatcher.cs b/PARR.Core/Services/UnitFilterService/Matchers/Implemetations/UnitFieldMatcher.cs index 9262c684..38412858 100644 --- a/PARR.Core/Services/UnitFilterService/Matchers/Implemetations/UnitFieldMatcher.cs +++ b/PARR.Core/Services/UnitFilterService/Matchers/Implemetations/UnitFieldMatcher.cs @@ -11,7 +11,7 @@ namespace PARR.Core.Services.UnitFilterService.Matchers; /// internal class UnitFieldMatcher : IUnitFieldMatcher { - private const int chunkSize = 1000; + private const int chunkSize = 200; private readonly IUnitRepository unitRepository; private readonly ILogger logger; diff --git a/PARR.DAL/Repositories/Unit/UnitRepository.cs b/PARR.DAL/Repositories/Unit/UnitRepository.cs index 94b61d40..f4d65610 100644 --- a/PARR.DAL/Repositories/Unit/UnitRepository.cs +++ b/PARR.DAL/Repositories/Unit/UnitRepository.cs @@ -22,7 +22,7 @@ namespace PARR.DAL.Repositories.Unit } - public IQueryable GetUnitByFieldAndValue(IQueryable query, Guid fieldId, string valueMask, bool isInverse = false) + public IQueryable GetUnitByFieldAndValue(IQueryable query, Guid fieldId, string valueMask, bool isInverse = false) { //TODO: вынесено из UnitFilterService