feat: allow setting number of concurrent adapters

This commit is contained in:
Lars Wirzenius
2026-07-02 10:27:53 +03:00
parent 308ef4abb3
commit 35fd38ba96
3 changed files with 7 additions and 3 deletions
@@ -16,3 +16,7 @@ radicle_ci_description: |
# List of Radicle repositories to seed by default.
radicle_ci_repositories:
- "rad:z28U8KUBvVSMQc13NydX3LBDsdEdQ"
# Number of concurrent adapters to run.
radicle_ci_concurrent_adapters: 1
+2 -2
View File
@@ -174,9 +174,9 @@
loop: "{{ radicle_ci_repositories }}"
when: radicle_ci_repositories is defined
- name: "restart CI broker"
- name: "start CI broker"
systemd:
name: radicle-ci-broker
enabled: true
state: restarted
state: started
@@ -2,7 +2,7 @@ description: |
{{ radicle_ci_description }}
db: /home/ci/ci.db
report_dir: /srv/http
concurrent_adapters: 1
concurrent_adapters: {{ radicle_ci_concurrent_adapters }}
adapters:
ambient:
command: /bin/radicle-ci-ambient