From 2a6486d5fd85b523ce5ccc9b2c47f17c5e7ae325 Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Thu, 31 Aug 2023 01:49:35 +0200
Subject: [PATCH] Fix build failing due to missing cli-config-celery section

---
 docs/devel/configuration.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/devel/configuration.rst b/docs/devel/configuration.rst
index 382023b0..70a3e467 100644
--- a/docs/devel/configuration.rst
+++ b/docs/devel/configuration.rst
@@ -78,6 +78,21 @@ HTTP endpoint; usually on port 5008 or at the path ``/scheduler/``.::
       cls: remote
       url: http://saatchi.internal.softwareheritage.org:5008
 
+.. _cli-config-celery:
+
+celery
+^^^^^^
+
+Some of of the scheduler's admin subcommand additionally expect Celery configuration::
+
+    celery:
+      broker_heartbeat: null
+      task_broker: amqp://guest:guest@amqp/%2f
+      broker_transport_options:
+        max_retries: 1
+
+Other configuration options, as well as their default values, can be found in
+`swh/scheduler/celery_backend/config.py <https://gitlab.softwareheritage.org/swh/devel/swh-scheduler/-/blob/9a91b8d197b3a0d19cbaa95f7008702280eed05e/swh/scheduler/celery_backend/config.py#L313-357>`__
 
 .. _cli-config-storage:
 
-- 
GitLab