forked from vieter-v/vieter
				
			fix: set default timeout to 60 minutes
							parent
							
								
									afb38256ac
								
							
						
					
					
						commit
						b278ebd73f
					
				|  | @ -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) ! { | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue