We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af9c66 commit e5f8d96Copy full SHA for e5f8d96
settings.yaml
@@ -41,11 +41,12 @@ default:
41
- preloads/stubs
42
43
# Documented in CelerySettings class
44
- celery_workers: 8
45
- celery_pool_type: "threads"
46
- celery_broker: "sqlite"
47
- celery_broker_uri: "mongodb://localhost:27017/celery-{context_id}"
48
- celery_broker_queue: "celery"
+ celery_broker_uri: sqlalchemy+sqlite:///{project_dir}/celery-{context_id}.db
+ celery_multiprocess_pool: true # Enable multiprocess worker pool
+ celery_workers: 8 # Number of worker processes
+ celery_pool_type: solo # Each worker uses solo pool
+ celery_worker_restart_interval: 30 # Restart workers if unresponsive for 30 seconds
49
+ celery_worker_log_level: info
50
51
# Test environment
52
testing:
0 commit comments