mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-10-17 01:08:14 +00:00
Ensure message_limit is not greater than total_messages
This commit is contained in:
1 parent
bc684c8913
commit
9522c9b6e4
1 file changed
+1
-1
@@ -1073,7 +1073,7 @@ def get_dmarc_reports_from_inbox(connection=None,
|
||||
reports_folder))
|
||||
|
||||
if batch_size:
|
||||
message_limit = batch_size
|
||||
message_limit = min(total_messages, batch_size)
|
||||
else:
|
||||
message_limit = total_messages
|
||||
|
||||
|
||||
Reference in new issue
Block a user