-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Added idle_timeout setting to job settings #10906
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UI changes are sane. Thanks @oweel.
awx/main/conf.py
Outdated
'DEFAULT_JOB_IDLE_TIMEOUT', | ||
field_class=fields.IntegerField, | ||
min_value=0, | ||
default=600, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this also the default value used by runner for idle_timeout?
Will the behavior of preexisting job templates be impacted after upgrading?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jakemcdermott thank you for your feedback!
Yes, you are right. I set default value is 0 for prevent overriding idle_timeout in preexisting job templates.
4abb3a3
to
abecf6d
Compare
abecf6d
to
530977d
Compare
@shanemcd It would be great if you could please review this pull request. |
Hello @shanemcd |
@nixocio Can this please be merged? |
@oweel it looks like idle_timeout might not be working too well. Even though idle_timeout is set to 0 its still timing out in 5-6 minutes.
If idle_timeout is set to something like 10 seconds then it works. And if idle_timeout is set to like 9999 it will still timeout in 5-6 minutes: |
SUMMARY
#10829
ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION