1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 04:28:21 +00:00

Feature #3398: Redefine global mirror interval (#3409)

* add mirror::GLOBAL_INTERVAL on app.ini

* rename key to DEFAULT_INTERVAL

* add key on default app.ini + move code
This commit is contained in:
Thibault Meyer
2016-08-10 08:47:16 +02:00
committed by 无闻
parent 5448d29b2e
commit fc68fb951c
3 changed files with 16 additions and 2 deletions

View File

@@ -359,6 +359,10 @@ CLONE = 300
PULL = 300
GC = 60
[mirror]
; Default interval in hours between each check
DEFAULT_INTERVAL = 24
[api]
; Max number of items will response in a page
MAX_RESPONSE_ITEMS = 50