kojira: remove unused delete_batch_size

fixes: #2396
This commit is contained in:
Yu Ming Zhu 2020-07-24 12:32:06 +00:00
parent cee7d4fca2
commit 2aa7ff67bb
2 changed files with 2 additions and 8 deletions

View file

@ -81,10 +81,6 @@ especially in relation to throttling in creating ``newRepo`` tasks.
Overall limit on running tasks is set here. It involves all
``newRepo`` tasks spawned by kojira and also by other users.
``delete_batch_size = 3``
How many repos are being removed from disk in one iteration. This
generally doesn't need to be changed.
``check_external_repos = false``
If True, monitor external repos and trigger the appropriate Koji repo
regenerations when they change.

View file

@ -1091,7 +1091,6 @@ def get_options():
'max_repo_tasks': 4,
'max_repo_tasks_maven': 2,
'repo_tasks_limit': 10,
'delete_batch_size': 3,
'deleted_repo_lifetime': 7 * 24 * 3600,
# XXX should really be called expired_repo_lifetime
'dist_repo_lifetime': 7 * 24 * 3600,
@ -1106,9 +1105,8 @@ def get_options():
if config.has_section(section):
int_opts = ('deleted_repo_lifetime', 'max_repo_tasks', 'repo_tasks_limit',
'retry_interval', 'max_retries', 'offline_retry_interval',
'max_delete_processes', 'max_repo_tasks_maven',
'delete_batch_size', 'dist_repo_lifetime', 'sleeptime',
'recent_tasks_lifetime')
'max_delete_processes', 'max_repo_tasks_maven', 'dist_repo_lifetime',
'sleeptime', 'recent_tasks_lifetime')
str_opts = ('topdir', 'server', 'user', 'password', 'logfile', 'principal', 'keytab',
'cert', 'ca', 'serverca', 'debuginfo_tags', 'queue_file',
'source_tags', 'separate_source_tags', 'ignore_tags') # FIXME: remove ca here