Add option to process messages in batches

This commit is contained in:
Tom Henderson committed 2021-02-05 13:37:09 +13:00
1 parent b43a622f9e
commit bc684c8913
4 files changed
+31 -10

No files matched your search

+1
View File
@@ -161,6 +161,7 @@ The full set of configuration options are:
- ``watch`` - bool: Use the IMAP ``IDLE`` command to process messages as they arrive
- ``delete`` - bool: Delete messages after processing them, instead of archiving them
- ``test`` - bool: Do not move or delete messages
- ``batch_size`` - int: Number of messages to read and process before saving. Defaults to all messages if not set.
- ``elasticsearch``
- ``hosts`` - str: A comma separated list of hostnames and ports or URLs (e.g. ``127.0.0.1:9200`` or ``https://user:secret@localhost``)