Adds configuration variable to the inotify debounce timing

This commit is contained in:
Trenton Holmes
2022-05-15 11:48:12 -07:00
parent 0ddb073e9b
commit 836373bc3b
4 changed files with 40 additions and 4 deletions

View File

@@ -590,6 +590,14 @@ PAPERLESS_CONSUMER_POLLING=<num>
Defaults to 0, which disables polling and uses filesystem notifications.
PAPERLESS_CONSUMER_INOTIFY_DELAY=<num>
Sets the time in seconds the consumer will wait for additional events
from inotify before the consumer will consider a file ready and begin consumption.
Certain scanners or network setups may generate multiple events for a single file,
leading to multiple consumers working on the same file. Configure this to
prevent that.
Defaults to 0.5 seconds.
PAPERLESS_CONSUMER_DELETE_DUPLICATES=<bool>
When the consumer detects a duplicate document, it will not touch the