Define WOODPECKER_FORGE_TIMEOUT server config (#1558)

When a server such as Codeberg has unusually high response time, three
seconds may not be enough to fetch the configuration.

Signed-off-by: Earl Warren <contact@earl-warren.org>
Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Earl Warren
2023-02-01 18:53:19 +01:00
committed by GitHub
parent e13792bff6
commit 7835a632e4
7 changed files with 24 additions and 7 deletions

View File

@@ -39,6 +39,7 @@ var Config = struct {
Registries model.RegistryService
Environ model.EnvironService
Forge forge.Forge
Timeout time.Duration
Membership cache.MembershipService
ConfigService config.Extension
SignaturePrivateKey crypto.PrivateKey