fix: set default timeout to 60 minutes
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details

pull/358/head
Jef Roosens 2023-05-02 14:51:49 +02:00
parent afb38256ac
commit b278ebd73f
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ pub fn cmd() cli.Command {
name: 'timeout' name: 'timeout'
description: 'After how many minutes to cancel the build. Only applies to local builds.' description: 'After how many minutes to cancel the build. Only applies to local builds.'
flag: cli.FlagType.int flag: cli.FlagType.int
default_value: ['60'] default_value: ['3600']
}, },
] ]
execute: fn (cmd cli.Command) ! { execute: fn (cmd cli.Command) ! {

View File

@ -16,7 +16,7 @@ pub:
max_log_age int [empty_default] max_log_age int [empty_default]
log_removal_schedule string = '0 0' log_removal_schedule string = '0 0'
collect_metrics bool [empty_default] collect_metrics bool [empty_default]
default_build_timeout int = 60 default_build_timeout int = 3600
} }
// cmd returns the cli submodule that handles starting the server // cmd returns the cli submodule that handles starting the server