Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Clear resource usage after a new deploy #2010

Merged
merged 1 commit into from
Sep 6, 2019
Merged

Clear resource usage after a new deploy #2010

merged 1 commit into from
Sep 6, 2019

Conversation

ssalinas
Copy link
Member

@ssalinas ssalinas commented Sep 4, 2019

Usage patterns change for new builds/etc of a task. Collect fresh data when a new deploy succeeds rather than waiting for it to expire out

lock.runWithRequestLock(() -> {
checkDeploy(pendingDeploy, cancelDeploys, pendingDeployToKey, deployKeyToDeploy, updateRequests);
}, pendingDeploy.getDeployMarker().getRequestId(), getClass().getSimpleName());
});
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 for switching away from the common forkjoin pool for this

@baconmania
Copy link
Contributor

🚢

@ssalinas ssalinas added this to the 1.1.0 milestone Sep 6, 2019
@ssalinas ssalinas merged commit b364e65 into master Sep 6, 2019
@ssalinas ssalinas deleted the resource_clear branch September 6, 2019 16:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants