From 3b40de70a3f343090a96f0efcd078827e84f144a Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Mon, 10 Mar 2025 17:03:09 +0100
Subject: [PATCH] staging/recurrent: Only schedule loading tasks for enabled
 loaders

Otherwise, we schedule and fill-in queues which are not consumed. This then
escalates to spurious infra alerts.

Those loaders were stopped to avoid running too much loaders in the staging infra.
---
 swh/values/staging/swh-cassandra.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/swh/values/staging/swh-cassandra.yaml b/swh/values/staging/swh-cassandra.yaml
index 8658cd7a..92f7709c 100644
--- a/swh/values/staging/swh-cassandra.yaml
+++ b/swh/values/staging/swh-cassandra.yaml
@@ -2177,6 +2177,12 @@ scheduler:
     enabled: true
     requestedMemory: 400Mi
     requestedCpu: 10m
+    visitTypes:
+    - cvs
+    - git
+    - git-checkout
+    - deposit
+    - svn
 
 journalClientCassandraChecksConfiguration:
   cls: kafka
-- 
GitLab