configs: enable celery monitoring by default

This commit is contained in:
RhodeCode Admin 2025-01-09 11:44:20 +01:00
parent 521679e3b2
commit 0003c94632
2 changed files with 10 additions and 4 deletions

View file

@ -422,8 +422,11 @@ celery.broker_url = redis://redis:6379/8
; results backend to get results for (default redis)
celery.result_backend = redis://redis:6379/8
; rabbitmq example
#celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
; Events is a stream of messages sent for certain actions occurring in the worker
celery.worker_send_task_events = true
; Events is a stream of messages sent for certain actions occurring in the task
celery.task_send_sent_event = true
; maximum tasks to execute before worker restart
celery.max_tasks_per_child = 20

View file

@ -390,8 +390,11 @@ celery.broker_url = redis://redis:6379/8
; results backend to get results for (default redis)
celery.result_backend = redis://redis:6379/8
; rabbitmq example
#celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
; Events is a stream of messages sent for certain actions occurring in the worker
celery.worker_send_task_events = true
; Events is a stream of messages sent for certain actions occurring in the task
celery.task_send_sent_event = true
; maximum tasks to execute before worker restart
celery.max_tasks_per_child = 20