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

Service idler interval is not adjustable #1138

Closed
shreddedbacon opened this issue Jul 4, 2019 · 1 comment · Fixed by #1139
Closed

Service idler interval is not adjustable #1138

shreddedbacon opened this issue Jul 4, 2019 · 1 comment · Fixed by #1139

Comments

@shreddedbacon
Copy link
Member

Describe the bug
The service idler router-log check interval of 4h is not adjustable, it would be nice to be able to adjust this

https://github.com/amazeeio/lagoon/blob/master/services/auto-idler/idle-services.sh#L69

@shreddedbacon
Copy link
Member Author

shreddedbacon commented Jul 18, 2019

There could also be some other changes to the service idler based on this.

The CLI idler checks for running builds, I think the service idler could also benefit from this.

Also a check of the uptime of the pods before going to router-logs

Logic could be
Check running builds -> check uptime is < Xhrs -> check router-logs < Xhrs -> finally idle

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

Successfully merging a pull request may close this issue.

1 participant