mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-02 18:15:25 +00:00
Ensure message_limit is not greater than total_messages
This commit is contained in:
@@ -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