Reverting the previous commit which makes no sense

This commit is contained in:
Trustin Lee 2012-01-13 20:49:18 +09:00
parent b9386e7be8
commit 36bba6b29d

View File

@ -452,10 +452,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();