From dfa04b65594c38943323e94ee4bde864e4cab3a9 Mon Sep 17 00:00:00 2001 From: Hasan Awad <90554456+hasanwhitesource@users.noreply.github.com> Date: Tue, 19 Apr 2022 13:16:23 +0300 Subject: [PATCH] fix(docs/usage): fix number typo for gitTimeout (#15171) * Added timeout option * Added timeout to global config * moved gitTimeout description to self-hosed-config * Added `gitTimeout` in global.ts * Changed to numeric value with test * Make seperte object for timeout * test and set max value to a minute * For null check * revert * default for null check * Added timeout for simple git uses * Update lib/config/validation.ts Co-authored-by: Michael Kriese <michael.kriese@visualon.de> * Made config into one object and changed test * blank line for lint * Update config.spec.ts * prettier alignment * lint * lint fix * added test and refactored * refactored tests * Update docs/usage/self-hosted-configuration.md Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> * More info in docs * Update docs/usage/self-hosted-configuration.md * Update docs/usage/self-hosted-configuration.md * Fixed typo * docs typo fix Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Rhys Arkins <rhys@arkins.net> --- docs/usage/self-hosted-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/self-hosted-configuration.md b/docs/usage/self-hosted-configuration.md index ba54f02c93..dc6955ccef 100644 --- a/docs/usage/self-hosted-configuration.md +++ b/docs/usage/self-hosted-configuration.md @@ -367,7 +367,7 @@ This reduces the chance of unintended consequences with global Git configs on sh To handle the case where the underlying Git processes appear to hang, configure the timeout with the number of milliseconds to wait after last received content on either `stdOut` or `stdErr` streams before sending a `SIGINT` kill message. -The value must be between `2000` and `6000` (milliseconds) inclusive. +The value must be between `2000` and `60000` (milliseconds) inclusive. ## gitUrl -- GitLab