Update the OCR app to use Celery, remove OCR config options OCR_REPLICATION_DELAY, OCR_NODE_CONCURRENT_EXECUTION, OCR_QUEUE_PROCESSING_INTERVAL
This commit is contained in:
@@ -46,6 +46,8 @@ INSTALLED_APPS = (
|
||||
'django.contrib.staticfiles',
|
||||
# 3rd party
|
||||
'south',
|
||||
'kombu.transport.django',
|
||||
'djcelery',
|
||||
'rest_framework_swagger',
|
||||
'filetransfers',
|
||||
'taggit',
|
||||
@@ -258,3 +260,6 @@ REST_FRAMEWORK = {
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
)
|
||||
}
|
||||
# ----------- Celery ----------
|
||||
BROKER_URL = 'django://'
|
||||
CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'
|
||||
|
||||
Reference in New Issue
Block a user