aboutsummaryrefslogtreecommitdiff
path: root/conf/app.ini
diff options
context:
space:
mode:
authoralpencrossi <62932811+alpencrossi@users.noreply.github.com>2020-04-06 08:48:25 +0200
committerGitHub <noreply@github.com>2020-04-06 14:48:25 +0800
commit083ecb7244486d530ddc8587b6b4776d21616353 (patch)
tree9d9337916100c9d9400ba7f367ecccff3a0cf837 /conf/app.ini
parent07818d5fa5aef7dd7dca1d556f59c7a146a9b00c (diff)
conf: clearer doc comments for mirror config options (#6058)
* conf: clearer doc comments for mirror config options * conf: apply suggestions from code review Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> * conf: clearer doc comments for mirror config options - added bindata Co-authored-by: Gogs <gogs@fake.local> Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> Co-authored-by: gkuehn001 <gkuehn@gmail.com>
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/app.ini b/conf/app.ini
index cb87e93c..9d26ca2f 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -415,8 +415,8 @@ ENABLED = true
; Run cron tasks when Gogs starts.
RUN_AT_START = false
-; Update mirrors
[cron.update_mirrors]
+; Defines how often the mirror syncer checks if any mirror needs to be synchronized (based on the mirror update interval).
SCHEDULE = @every 10m
; Repository health check
@@ -461,7 +461,8 @@ PULL = 300
GC = 60
[mirror]
-; The default interval in hours for fetching updates.
+; Defines the default interval (in hours) until the next sync for a mirror (after a successful mirror sync).
+; It can be overridden individually for each mirror repository in the settings.
DEFAULT_INTERVAL = 8
[api]