-
Notifications
You must be signed in to change notification settings - Fork 861
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
fix threadpools shutdown problems (issues 14) #31
Conversation
*/ | ||
@Override | ||
public void shutdown() { | ||
workerGroup.shutdownGracefully(); |
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.
workerGroup 应该是全局的,在一个非static方法里关掉会不会有问题?
@ujjboy workerGroup静态变量问题已修复 |
@yangl format的问题,麻烦再提交一下哈。现在check format还是不过 |
invokeWithFuture及invokeWithCallback 没有关闭,应该是因为HashedWheelTimer的线程是非daemon的导致。这个可以也改一下 |
嗯 这个加的有 |
@yangl 整体看了下PR,客户端的问题应该没有了,其他有如下几个问题哈:
|
|
commit 0639872 rollback modification for boss group |
* (tuning) refactor start logic of remoting server fix #8 (#21) * tuning init logic of rpc server (#20) fix #18 * (tuning) modify buffer allocator type fix #9 (#23) * (format) modify header format (#24) fix #10 * (tuning) log conf modify (#25) fix #12 #13 * (format) modify license format * fix maven-javadoc-plugin build ERROR with JDK 1.8 (#28) * fix threadpools shutdown problems (issues 14) (#31) 单测待补充,先合并 * [feature] support the native transport * merge feature/1.4.2 * [feature] support native transport (epoll) * add autor * make the bossGroup not deamon * (bugfix) modify boss threadpool back to non-daemon * [feature] support the native transport * merge feature/1.4.2 * [feature] support native transport (epoll) * add autor * make the bossGroup not deamon * rebase 1.4.2 * (feature) Netty epoll switch * (version) modify release version * Tuning/threadpool exit (#36) * (tuning) change command factory visibility (#37) * format error
No description provided.