From 0ba74f16af19211d4d8761ae67593c8e725e3121 Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Sun, 2 Sep 2018 18:17:33 -0500 Subject: [PATCH] increase batch size (huge lists grind nearly to a halt) --- 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 88436e12d..29b8a0cbd 100644 --- a/src/FilterLists.Services/Snapshot/Snapshot.cs +++ b/src/FilterLists.Services/Snapshot/Snapshot.cs @@ -19,7 +19,7 @@ namespace FilterLists.Services.Snapshot { public class Snapshot { - private const int BatchSize = 1000; + private const int BatchSize = 10000; public readonly FilterListViewUrlDto List; protected readonly Data.Entities.Snapshot SnapEntity; private readonly FilterListsDbContext dbContext;