From 7e3e80c59fef4befd868fa543b607c44d28e1e7d Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Thu, 16 Aug 2018 12:12:40 -0500 Subject: [PATCH] try really small (5) batch sizes ref #343 see if tiny batch sizes eliminates duplicate key exceptions --- src/FilterLists.Services/Snapshot/SnapshotDe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Services/Snapshot/SnapshotDe.cs b/src/FilterLists.Services/Snapshot/SnapshotDe.cs index a27e67c44..c1473e252 100644 --- a/src/FilterLists.Services/Snapshot/SnapshotDe.cs +++ b/src/FilterLists.Services/Snapshot/SnapshotDe.cs @@ -17,7 +17,7 @@ public class SnapshotDe private const string UserAgentString = @"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"; - private const int BatchSize = 100; + private const int BatchSize = 5; private readonly FilterListsDbContext dbContext; private readonly EmailService emailService; private readonly FilterListViewUrlDto list;