Increase WOODPECKER_FORGE_TIMEOUT to fix config fetching for GitLab (#4262)

This commit is contained in:
Patrick Schratz
2024-10-27 11:21:40 +01:00
committed by GitHub
parent 57f1d10c9b
commit 785f2e6d6a
3 changed files with 5 additions and 4 deletions

View File

@@ -287,7 +287,7 @@ var flags = append([]cli.Flag{
Sources: cli.EnvVars("WOODPECKER_FORGE_TIMEOUT"),
Name: "forge-timeout",
Usage: "how many seconds before timeout when fetching the Woodpecker configuration from a Forge",
Value: time.Second * 3,
Value: time.Second * 5,
},
&cli.UintFlag{
Sources: cli.EnvVars("WOODPECKER_FORGE_RETRY"),