domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
962 stars 210 forks source link

batch_size have no default value #463

Closed AnaelMobilia closed 4 months ago

AnaelMobilia commented 5 months ago

Hello,

On parsedmarc v8.6.4, the doc say that "batch_size - int: Number of messages to read and process before saving. Default 10. Use 0 for no limit.".

If the parameter is not defined on the configuration file, all currently untreated DMARC reports will be processed at once without limitation (on my case >90k).

If I put a batch_size parameter on the configuration file to 50, then only 50 emails are processed.

It looks like the default value is 0 (unlimited) and not 10 as the documentation report.

Bests regards