Consumer loop time is now configurable

This commit is contained in:
Daniel Quinn committed 2017-01-01 18:41:06 +00:00
1 parent db7810a9d2
commit 23bd887f16
3 files changed
+11 -1

No files matched your search

@@ -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")