-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 #9395
Conversation
…aceActivityManager
… WorkspaceActivityManager
ci-test |
ci-test build report: |
<dependency> | ||
<groupId>org.eclipse.che.core</groupId> | ||
<artifactId>che-core-api-workspace-activity</artifactId> | ||
<version>6.4.0-SNAPSHOT</version> |
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.
remove version
* | ||
* @author Mykhailo Kuznietsov | ||
*/ | ||
@Singleton |
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.
test?
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.
test added
} | ||
} | ||
|
||
protected long getIdleTimeout(String wsId) throws NotFoundException, ServerException { | ||
return defaultTimeout; |
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.
do we have a test for this class?
…alue in WorkspaceActivityManager
What does this PR do?
MultiUserWorkspaceActivityManager 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 (for single & multi user Che)
Removed old "che.workspace.agent.dev.inactive_stop_timeout_ms" property.
What issues does this PR fix or reference?
#8951
Release Notes
Docs PR