turn off checking external repos by default

Fixes: https://pagure.io/koji/issue/2159
This commit is contained in:
Tomas Kopecek 2020-04-21 10:31:24 +02:00
parent be61a984f4
commit 3aca7b43a6
3 changed files with 10 additions and 1 deletions

View file

@ -85,6 +85,10 @@ especially in relation to throttling in creating ``newRepo`` tasks.
How many repos are being removed from disk in one iteration. This
generally doesn't need to be changed.
``check_external_repos = false``
Check also external repos, note, that you need to have your database set to
use UTC, as otherwise you can end with weird behaviour. For details see
https://pagure.io/koji/issue/2159
Garbage Collector
-----------------

View file

@ -1030,7 +1030,7 @@ def get_options():
'deleted_repo_lifetime': 7 * 24 * 3600,
# XXX should really be called expired_repo_lifetime
'dist_repo_lifetime': 7 * 24 * 3600,
'check_external_repos': True,
'check_external_repos': False,
'recent_tasks_lifetime': 600,
'sleeptime': 15,
'cert': None,

View file

@ -51,3 +51,8 @@ logfile=/var/log/kojira.log
; ignored repositories according to glob. Multiple masks separated by space.
; ignore_tags =
; check also external repos, note, that you need to have your database set to
; use UTC, as otherwise you can end with weird behaviour. For details see
; https://pagure.io/koji/issue/2159
; check_external_repos = false