Skip to content

Commit 0a996ca

Browse files
alpencrossiGogsunknwongkuehn001
authored andcommitted
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: ᴜɴᴋɴᴡᴏɴ <[email protected]> * conf: clearer doc comments for mirror config options - added bindata Co-authored-by: Gogs <[email protected]> Co-authored-by: ᴜɴᴋɴᴡᴏɴ <[email protected]> Co-authored-by: gkuehn001 <[email protected]>
1 parent bced406 commit 0a996ca

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

conf/app.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ ENABLED = true
427427
; Run cron tasks when Gogs starts.
428428
RUN_AT_START = false
429429

430-
; Update mirrors
431430
[cron.update_mirrors]
431+
; Defines how often the mirror syncer checks if any mirror needs to be synchronized (based on the mirror update interval).
432432
SCHEDULE = @every 10m
433433

434434
; Repository health check
@@ -473,7 +473,8 @@ PULL = 300
473473
GC = 60
474474

475475
[mirror]
476-
; The default interval in hours for fetching updates.
476+
; Defines the default interval (in hours) until the next sync for a mirror (after a successful mirror sync).
477+
; It can be overridden individually for each mirror repository in the settings.
477478
DEFAULT_INTERVAL = 8
478479

479480
[api]

0 commit comments

Comments
 (0)