Add locking for interval sources. This reduces the chance of repeated documents from long running email downloads.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -59,6 +59,7 @@ SOURCE_CHOICES = (
|
||||
(SOURCE_CHOICE_EMAIL_IMAP, _('IMAP email')),
|
||||
)
|
||||
|
||||
DEFAULT_SOURCE_LOCK_EXPIRE = 600
|
||||
DEFAULT_INTERVAL = 600
|
||||
DEFAULT_METADATA_ATTACHMENT_NAME = 'metadata.yaml'
|
||||
DEFAULT_POP3_TIMEOUT = 60
|
||||
|
||||
Reference in New Issue
Block a user