소스 검색

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>
alpencrossi 5 년 전
부모
커밋
083ecb7244
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      conf/app.ini
  2. 1 1
      internal/assets/conf/conf_gen.go

+ 3 - 2
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]

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
internal/assets/conf/conf_gen.go


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.