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

Join metrics publishing thread when shutting factory down. #82

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

rankinc
Copy link
Contributor

@rankinc rankinc commented Jun 27, 2016

We need CWMetricsFactory.publicationThread to complete before we can shut its AwsCloudWatch client down cleanly.

@pfifer
Copy link
Contributor

pfifer commented Jul 11, 2016

I think I would prefer to see the use of join with a timeout, and log message. This would ensure that if the metrics thread got stuck, there would be an indication of why shutdown is being blocked.

Otherwise this looks good, and should ensure consistency during shutdown.

Finally I just need you to confirm that we can use, modify, copy, and redistribute this contribution.

Thanks.

@rankinc
Copy link
Contributor Author

rankinc commented Jul 11, 2016

I confirm that this pull request may be modified, copied and redistributed under the terms of the Amazon Software License.

@pfifer pfifer added this to the v1.6.5 milestone Jul 21, 2016
@pfifer pfifer merged commit c936b63 into awslabs:master Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants