CELERY_TASK_MODULES oyster setting
This commit is contained in:
parent
f6282c8040
commit
d3ed585a8c
@ -1,6 +1,6 @@
|
||||
from oyster.conf import settings
|
||||
|
||||
CELERY_IMPORTS = ("oyster.tasks",)
|
||||
CELERY_IMPORTS = ["oyster.tasks"] + list(settings.CELERY_TASK_MODULES)
|
||||
|
||||
BROKER_TRANSPORT = 'mongodb'
|
||||
BROKER_HOST = settings.MONGO_HOST
|
||||
|
@ -4,6 +4,9 @@ MONGO_PORT = 27017
|
||||
MONGO_DATABASE = 'oyster'
|
||||
MONGO_LOG_MAXSIZE = 100000000
|
||||
|
||||
# extra celery modules
|
||||
CELERY_TASK_MODULES = []
|
||||
|
||||
# scrapelib
|
||||
USER_AGENT = 'oyster'
|
||||
REQUESTS_PER_MINUTE = 60
|
||||
|
Loading…
Reference in New Issue
Block a user