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

Use workspace limit idle timeout value in WorkspaceActivityManager #9342

Merged
merged 5 commits into from
Apr 11, 2018

Conversation

mkuznyetsov
Copy link
Contributor

What does this PR do?

WorkspaceActivityManager is now using accounts resources to retrieve workspaces idle timeouts. "che.limits.workspace.idle.timeout" property is also used now as default value for timeout.
Removed old "che.workspace.agent.dev.inactive_stop_timeout_ms" property.

What issues does this PR fix or reference?

#8951

Release Notes

Docs PR

@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Apr 5, 2018
@mshaposhnik
Copy link
Contributor

Pls write more meaningful title.

@mkuznyetsov mkuznyetsov changed the title Che 8951 Use workspace limit idle timeout value in WorkspaceActivityManager Apr 5, 2018
@mkuznyetsov
Copy link
Contributor Author

ci-test

@@ -32,3 +32,5 @@ che.infra.kubernetes.installer_server_max_port=che.infra.openshift.installer_ser

che.infra.docker.daemon_url=docker.client.daemon_url
che.infra.docker.certificates_folder=docker.client.certificates_folder

che.limits.workspace.idle.timeout=che.workspace.agent.dev.inactive_stop_timeout_ms
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line

@@ -32,3 +32,5 @@ che.infra.kubernetes.installer_server_max_port=che.infra.openshift.installer_ser

che.infra.docker.daemon_url=docker.client.daemon_url
che.infra.docker.certificates_folder=docker.client.certificates_folder

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment why we need it.

@codenvy-ci
Copy link

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:9342
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

Copy link
Contributor

@riuvshin riuvshin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does alias will guarantee that users who still using CHE_WORKSPACE_AGENT_DEV_INACTIVE__STOP__TIMEOUT__MS will have proper timeout ?

@mkuznyetsov
Copy link
Contributor Author

@riuvshin no, it doesn't.

@mkuznyetsov mkuznyetsov merged commit f85c0a2 into master Apr 11, 2018
@mkuznyetsov mkuznyetsov deleted the che-8951 branch April 11, 2018 07:08
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Apr 11, 2018
@benoitf benoitf added this to the 6.4.0 milestone Apr 11, 2018
mkuznyetsov added a commit that referenced this pull request Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants