Clone it. Have celery and sqlite installed. Run test.py
.
$python test.py
Success: 3
Failure:
- state: RETRY
- ready: False
- get: >> got exception: EngineTaskError Failed
Zero: Done Normally
Five: Done Rushed!
$
Things I wish I had known when I first started using celery...
- Minimal startup of celery (no rabbitmq)
- Starting celery from inside my main app process
- Setting up your project with a Dedicated Module
- Keeping celery code separate from your logic with custom tasks
- Gently interrupting long-running tasks using soft limits
- Capturing errors and routing them for special/central handling