From 8b00cf5ed62004104070523c335c7353a7a250fb Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 20 Aug 2018 09:12:26 -0500 Subject: [PATCH] cut batchsize by 75% (mysql out of memory) ref #357 --- 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 e2857cf11b..1e6351e6eb 100644 --- a/src/FilterLists.Services/Snapshot/Snapshot.cs +++ b/src/FilterLists.Services/Snapshot/Snapshot.cs @@ -15,7 +15,7 @@ namespace FilterLists.Services.Snapshot { public class Snapshot { - private const int BatchSize = 1000; + private const int BatchSize = 250; private readonly FilterListsDbContext dbContext; private readonly FilterListViewUrlDto list; private readonly Data.Entities.Snapshot snapEntity;