From 05f747af03e20c7f0beac59aa66ef3887fb8ff12 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 31 Aug 2018 18:31:21 -0500 Subject: [PATCH] try reducing mysql errors with smaller batch sizes --- src/FilterLists.Services/Snapshot/Snapshot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Services/Snapshot/Snapshot.cs b/src/FilterLists.Services/Snapshot/Snapshot.cs index 819ba0f8e..2812b097c 100644 --- a/src/FilterLists.Services/Snapshot/Snapshot.cs +++ b/src/FilterLists.Services/Snapshot/Snapshot.cs @@ -21,7 +21,7 @@ namespace FilterLists.Services.Snapshot { public class Snapshot { - private const int BatchSize = 10000; + private const int BatchSize = 1000; private readonly FilterListsDbContext dbContext; public readonly FilterListViewUrlDto List; protected readonly Data.Entities.Snapshot SnapEntity;