This commit is contained in:
houxinyu
2023-08-20 15:28:43 +08:00
parent 325cec7113
commit 3c5d22c62c
6 changed files with 59 additions and 20 deletions

View File

@@ -102,7 +102,7 @@ public class RedisParserPollingMode implements RedisParserHelper {
}
//创建定时任务线程池
if (ObjectUtil.isNull(pollExecutor)) {
ThreadFactory namedThreadFactory = new NamedThreadFactory("RedisParser-Polling-Thread-", false);
ThreadFactory namedThreadFactory = new NamedThreadFactory("Redis-Polling-", false);
pollExecutor = new ScheduledThreadPoolExecutor(
CORE_POOL_SIZE,
namedThreadFactory,