Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamically set task timeout duration in master #429

Closed
putcn opened this issue Oct 24, 2017 · 1 comment
Closed

dynamically set task timeout duration in master #429

putcn opened this issue Oct 24, 2017 · 1 comment

Comments

@putcn
Copy link

putcn commented Oct 24, 2017

Currently, a task timeout duration is hardcoded as 20min. one improvement we can do is to set this duration dynamically. we can collect this data from the previously finished job and keep monitoring, changing this value.

@gongweibao
Copy link
Collaborator

gongweibao commented Oct 31, 2017

Task timeout is a command-line parameter now:

taskTimeoutDur := flag.Duration("task-timout-dur", 20*time.Minute, "task timout duration.")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants