diff --git a/apps/ocr/conf/settings.py b/apps/ocr/conf/settings.py index f799d301cf..f9bbf52337 100644 --- a/apps/ocr/conf/settings.py +++ b/apps/ocr/conf/settings.py @@ -3,4 +3,4 @@ from django.conf import settings TESSERACT_PATH = getattr(settings, 'OCR_TESSERACT_PATH', u'/usr/bin/tesseract') TESSERACT_LANGUAGE = getattr(settings, 'OCR_TESSERACT_LANGUAGE', None) MAX_CONCURRENT_EXECUTION = getattr(settings, 'OCR_MAX_CONCURRENT_EXECUTION', 2) -REPLICATION_DELAY = getattr(settings, 'OCR_REPLICATION_DELAY', 360) #In seconds, 360 = 6 minutes +REPLICATION_DELAY = getattr(settings, 'OCR_REPLICATION_DELAY', 10) #In seconds diff --git a/settings.py b/settings.py index ef65b98fde..a41a0b2ca9 100644 --- a/settings.py +++ b/settings.py @@ -245,7 +245,7 @@ LOGIN_EXEMPT_URLS = ( #OCR_TESSERACT_PATH = u'/usr/bin/tesseract' #OCR_MAX_CONCURRENT_EXECUTION = 2 #OCR_TESSERACT_LANGUAGE = None -#OCR_REPLICATION_DELAY = 360 +#OCR_REPLICATION_DELAY = 10 # Permissions #ROLES_DEFAULT_ROLES = []