diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-07-06 13:49:37 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-07-06 08:49:37 +0300 |
commit | 1675fc4301d4bff339a0831348fca76a9e394999 (patch) | |
tree | 73c40d6963b236d6f7ca06866a0e422e0f9a6ec1 /docs/content/doc/advanced/config-cheat-sheet.en-us.md | |
parent | 61b40520ba9024ee4e8592345eec062795c6346f (diff) | |
download | gitea-1675fc4301d4bff339a0831348fca76a9e394999.tar.gz gitea-1675fc4301d4bff339a0831348fca76a9e394999.zip |
add git timeout settings docs (#4383)
Diffstat (limited to 'docs/content/doc/advanced/config-cheat-sheet.en-us.md')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 88ebd4053f..c7e80b9579 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -283,6 +283,13 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `MAX_GIT_DIFF_FILES`: **100**: Max number of files shown in diff view. - `GC_ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. +## Git - Timeout settings (`git.timeout`) +- `MIGRATE`: **600**: Migrate external repositories timeout seconds. +- `MIRROR`: **300**: Mirror external repositories timeout seconds. +- `CLONE`: **300**: Git clone from internal repositories timeout seconds. +- `PULL`: **300**: Git pull from internal repositories timeout seconds. +- `GC`: **60**: Git repository GC timeout seconds. + ## API (`api`) - `ENABLE_SWAGGER_ENDPOINT`: **true**: Enables /api/swagger, /api/v1/swagger etc. endpoints. True or false; default is true. |