You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the analysis of SonarCloud of this project, we can see that the function Thread.sleep() is used in the file engine/orchestration/src/main/java/com/cloud/agent/manager/DirectAgentAttache.java. This is a problem that can lead into big perfomance issues. If it was used the function wait() instead of it, the resources that CloudStack uses could be used by the computer to other programs until the wait finishes.
versions
No response
The steps to reproduce the bug
No response
What to do about it?
The code of the file engine/orchestration/src/main/java/com/cloud/agent/manager/DirectAgentAttache.java should be rewritten to be use the function wait() instead of the function Thread.sleep().
The text was updated successfully, but these errors were encountered:
problem
In the analysis of SonarCloud of this project, we can see that the function Thread.sleep() is used in the file engine/orchestration/src/main/java/com/cloud/agent/manager/DirectAgentAttache.java. This is a problem that can lead into big perfomance issues. If it was used the function wait() instead of it, the resources that CloudStack uses could be used by the computer to other programs until the wait finishes.
versions
No response
The steps to reproduce the bug
No response
What to do about it?
The code of the file engine/orchestration/src/main/java/com/cloud/agent/manager/DirectAgentAttache.java should be rewritten to be use the function wait() instead of the function Thread.sleep().
The text was updated successfully, but these errors were encountered: