mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Consumer loop time is now configurable
This commit is contained in:
parent
db7810a9d2
commit
23bd887f16
3 changed files with 11 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class Command(BaseCommand):
|
|||
consumption directory, and fetch any mail available.
|
||||
"""
|
||||
|
||||
LOOP_TIME = 10 # Seconds
|
||||
LOOP_TIME = settings.CONSUMER_LOOP_TIME
|
||||
MAIL_DELTA = datetime.timedelta(minutes=10)
|
||||
|
||||
ORIGINAL_DOCS = os.path.join(settings.MEDIA_ROOT, "documents", "originals")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue