From 98b9bbc194cbddcc77de044b68e4255472d171e2 Mon Sep 17 00:00:00 2001 From: prakhar katiyar Date: Fri, 10 Jan 2025 10:55:10 +0530 Subject: [PATCH] default value added for CLI_CMD_TIMEOUT_GLOBAL_SECONDS --- git-sensor/internals/Configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-sensor/internals/Configuration.go b/git-sensor/internals/Configuration.go index 4e577c3e0..ba4e2839b 100644 --- a/git-sensor/internals/Configuration.go +++ b/git-sensor/internals/Configuration.go @@ -26,7 +26,7 @@ type Configuration struct { UseGitCli bool `env:"USE_GIT_CLI" envDefault:"false"` UseGitCliAnalytics bool `env:"USE_GIT_CLI_ANALYTICS" envDefault:"false"` // This flag is used to compute commitDiff using git-cli only for analytics AnalyticsDebug bool `env:"ANALYTICS_DEBUG" envDefault:"false"` - CliCmdTimeoutGlobal int `env:"CLI_CMD_TIMEOUT_GLOBAL_SECONDS" envDefault:"0"` + CliCmdTimeoutGlobal int `env:"CLI_CMD_TIMEOUT_GLOBAL_SECONDS" envDefault:"900"` CliCmdTimeoutJson string `env:"CLI_CMD_TIMEOUT_JSON" envDefault:""` GoGitTimeout int `env:"GOGIT_TIMEOUT_SECONDS" envDefault:"10" ` }