Worker con limites x queue --------------------------
# Advanced example starting 10 workers in the background: # * Three of the workers processes the images and video queue # * Two of the workers processes the data queue with loglevel DEBUG # * the rest processes the default' queue. $ celeryd-multi start 10 -l INFO \ -Q:1-3 images,video \ -Q:4,5 data \ -Q default \ -L:4,5 DEBUG
Configuraciones disponibles
ReplyDelete---------------------------
http://docs.celeryproject.org/en/latest/configuration.html
Celery + Django transactions
ReplyDelete----------------------------
http://docs.celeryproject.org/en/latest/userguide/tasks.html#database-transactions
Configuración minima
ReplyDelete--------------------
BROKER_URL = 'amqp://guest@localhost/'
CELERY_RESULT_BACKEND = 'amqp'
# Deprecated aliases: CELERY_BACKEND
Worker con limites x queue
ReplyDelete--------------------------
# Advanced example starting 10 workers in the background:
# * Three of the workers processes the images and video queue
# * Two of the workers processes the data queue with loglevel DEBUG
# * the rest processes the default' queue.
$ celeryd-multi start 10 -l INFO \
-Q:1-3 images,video \
-Q:4,5 data \
-Q default \
-L:4,5 DEBUG
http://docs.celeryproject.org/en/latest/reference/celery.bin.celeryd_multi.html