Reverting the previous commit which makes no sense
This commit is contained in:
parent
b9386e7be8
commit
36bba6b29d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user