Sentinel I wonder why just ignore the coding rule called "PMD.ThreadPoolCreationRule" instead of fixing them? Could you please explain it?

lsmepo6l  于 2022-10-19  发布在  其他
关注(0)|答案(1)|浏览(302)

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

I saw a few of**@SuppressWarnings("PMD.ThreadPoolCreationRule")in many classes.
(e.g
SimpleHttpCommandCenter.java , NettyHttpCommandCenter.java**)
Why did you just ignore them instead of fixing?
What if tremendous task queued in blocking queue?
It may cause OutOfMemory problem according to Alibaba Java Coding Guidelines.

Describe what you expected to happen

If possible, I will submit a PR for fixing it.
Looking forward to your reply. Thanks!

How to reproduce it (as minimally and precisely as possible)

NONE

Tell us your environment

NONE

Anything else we need to know?

NONE

6ss1mwsb

6ss1mwsb1#

Contributions are welcomed!

相关问题