Reverting the previous commit which makes no sense

This commit is contained in:
Trustin Lee 2012-01-13 20:49:31 +09:00
parent 968ed8b53e
commit 831a13694c

View File

@ -471,10 +471,6 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor {
* make sure important tasks are not counted.
*/
protected boolean shouldCount(Runnable task) {
if (task instanceof ChannelDownstreamEventRunnable) {
return false;
}
if (task instanceof ChannelUpstreamEventRunnable) {
ChannelUpstreamEventRunnable r = (ChannelUpstreamEventRunnable) task;
ChannelEvent e = r.getEvent();