git: fix git disable download function

This commit is contained in:
chris 2026-08-14 21:59:03 +02:00
commit ed89e6263c
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -60,6 +60,9 @@
repo = {
DEFAULT_REPO_UNITS = "repo.code,repo.issues,repo.pulls";
};
repository = {
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true;
};
actions = {
ENABLED = true;
ARTIFACT_RETENTION_DAYS = 30;
@ -84,6 +87,12 @@
REPO_INDEXER_TYPE = "elasticsearch";
REPO_INDEXER_CONN_STR = "http://127.0.0.1:9200";
};
"cron.archive_cleanup" = {
ENABLED = true;
RUN_AT_START = true;
SCHEDULE = "@every 1h";
OLDER_THAN = "2h";
};
};
};