git: fix git disable download function
This commit is contained in:
parent
8e8b465eca
commit
ed89e6263c
1 changed files with 9 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue