Skip to content

Commit

Permalink
cut batchsize by 75% (mysql out of memory)
Browse files Browse the repository at this point in the history
ref #357
  • Loading branch information
collinbarrett committed Aug 20, 2018
1 parent 4a9bb07 commit 6f52ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FilterLists.Services/Snapshot/Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f52ebc

Please sign in to comment.