mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tools: bump default v retry
timeout to 10 minutes, clarify the usage of its --timeout
option.
This commit is contained in:
parent
a5839aa4af
commit
22983a08e6
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ fn main() {
|
|||
fp.skip_executable()
|
||||
fp.limit_free_args_to_at_least(1)!
|
||||
context.show_help = fp.bool('help', `h`, false, 'Show this help screen.')
|
||||
context.timeout = fp.float('timeout', `t`, 300.0, 'Timeout in seconds. Default: 300.0 seconds.') * time.second
|
||||
context.timeout = fp.float('timeout', `t`, 600.0, 'Timeout in seconds (for all retries). Default: 600.0 seconds (10 minutes).') * time.second
|
||||
context.delay = fp.float('delay', `d`, 1.0, 'Delay between each retry in seconds. Default: 1.0 second.') * time.second
|
||||
context.retries = fp.int('retries', `r`, 10, 'Maximum number of retries. Default: 10.')
|
||||
if context.show_help {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue