Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 736 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 736 Bytes

celery-pool-asyncio-example & celery redbeat schedule task exmaple

This repository contain a minimal working example of celery-pool-asyncio to work Celery pool to run coroutine tasks. Same code base can be use too for testing redbeat scheduler (Which is not supporting coroutine tasks at this moment).

Execute below commands to run this example code

To run celery worker

$ celery -A task worker -l debug -P celery_pool_asyncio:TaskPool

To run celery beat

$ celery beat -A task -l debug

Note: In order to run this sample code with Redbeat Scheduler, change scheduler configuration in config.py to redbeat.RedBeatScheduler