try really small (5) batch sizes

ref #343
see if tiny batch sizes eliminates duplicate key exceptions
This commit is contained in:
Collin M. Barrett 2018-08-16 12:12:40 -05:00
parent f3a4fcea6d
commit 7e3e80c59f

View file

@ -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;