Skip to content

Make sure thread-pools actually shutdown#1294

Merged
mattrjacobs merged 1 commit intoNetflix:masterfrom
thesmith:shutdown_threadpools
Aug 2, 2016
Merged

Make sure thread-pools actually shutdown#1294
mattrjacobs merged 1 commit intoNetflix:masterfrom
thesmith:shutdown_threadpools

Conversation

@thesmith
Copy link
Copy Markdown
Contributor

When HystrixThreadPool.shutdown is called with a timeout, a single call to awaitTermination is called.
This is now done in a loop to make sure the thread-pool is definitely shutdown.

@thesmith
Copy link
Copy Markdown
Contributor Author

Hmmm.. that passes for me locally.

@mattrjacobs
Copy link
Copy Markdown
Contributor

I made an unrelated unit test that was intermittently failing less flaky, and Travis worked this time. Apologies for that.

Thanks for the commit

@mattrjacobs mattrjacobs merged commit da1198c into Netflix:master Aug 2, 2016
@thesmith thesmith deleted the shutdown_threadpools branch August 3, 2016 16:15
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