Celery concurrency with celery beat

29 Views Asked by At

I use celery worker with parameter concurrency equals 20. And also I launch celery-beat. But every periodic task from celery-beat goes on every celery worker (in my situation on 20 workers, and periodic task is done 20 times). What can I do? I want produce periodic task one time every 60 seconds. And another tasks use for another purpose.

My launches:

$ celery -A config worker -l info -c 20 --pool=prefork
$ celery -A config beat -l info 

I saw celery routing, but I want more beautiful solution. Also I look for more beautiful solution.

0

There are 0 best solutions below