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:
Roberto Rosario
2014-10-03 01:19:59 -04:00
parent 7bec19848d
commit a613c65fde
19 changed files with 152 additions and 294 deletions

View File

@@ -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'