-
Notifications
You must be signed in to change notification settings - Fork 21
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
WOR-1321 - Disable WorkspaceContainer polling #4394
Conversation
I don't want to slow the turnaround time, but do unit tests cover this case? |
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.
Thank you!
I agree, let's add some unit test coverage. |
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.
I tried out the PR site, and I don't see that the auto-refresh is happening for a deleting Azure workspace.
back-linking to #4382 |
Kudos, SonarCloud Quality Gate passed!
|
Jira Ticket: https://broadworkbench.atlassian.net/browse/WOR-1321
Summary of changes:
Only poll to refresh the dashboard if the workspace is in a deleting state.
Refreshing the workspace was causing the calls to get the apps and runtimes to re-fire, creating a lot of excess API calls.
This PR causes them to go from every 30 seconds, back to their original frequency of every 2 minutes.