File tree 2 files changed +14
-0
lines changed
docs/content/doc/advanced
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,13 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
283
283
- ` MAX_GIT_DIFF_FILES ` : ** 100** : Max number of files shown in diff view.
284
284
- ` GC_ARGS ` : ** \< empty\> ** : Arguments for command ` git gc ` , e.g. ` --aggressive --auto ` .
285
285
286
+ ## Git - Timeout settings (` git.timeout ` )
287
+ - ` MIGRATE ` : ** 600** : Migrate external repositories timeout seconds.
288
+ - ` MIRROR ` : ** 300** : Mirror external repositories timeout seconds.
289
+ - ` CLONE ` : ** 300** : Git clone from internal repositories timeout seconds.
290
+ - ` PULL ` : ** 300** : Git pull from internal repositories timeout seconds.
291
+ - ` GC ` : ** 60** : Git repository GC timeout seconds.
292
+
286
293
## API (` api ` )
287
294
288
295
- ` ENABLE_SWAGGER_ENDPOINT ` : ** true** : Enables /api/swagger, /api/v1/swagger etc. endpoints. True or false; default is true.
Original file line number Diff line number Diff line change @@ -187,6 +187,13 @@ menu:
187
187
- ` MAX_GIT_DIFF_FILES ` : 比较视图中的最大现实文件数目。
188
188
- ` GC_ARGS ` : 执行 ` git gc ` 命令的参数, 比如: ` --aggressive --auto ` 。
189
189
190
+ ## Git - 超时设置 (` git.timeout ` )
191
+ - ` MIGRATE ` : ** 600** : 迁移外部仓库时的超时时间,单位秒
192
+ - ` MIRROR ` : ** 300** : 镜像外部仓库的超时时间,单位秒
193
+ - ` CLONE ` : ** 300** : 内部仓库间克隆的超时时间,单位秒
194
+ - ` PULL ` : ** 300** : 内部仓库间拉取的超时时间,单位秒
195
+ - ` GC ` : ** 60** : git仓库GC的超时时间,单位秒
196
+
190
197
## markup (` markup ` )
191
198
192
199
外部渲染工具支持,你可以用你熟悉的文档渲染工具. 比如一下将新增一个名字为 ` asciidoc ` 的渲染工具which is followed ` markup. ` ini section. And there are some config items below.
You can’t perform that action at this time.
0 commit comments