From 4df0b4ee690acb4b2e44f5363f777576eb907db9 Mon Sep 17 00:00:00 2001 From: jinlingmei Date: Wed, 14 Sep 2022 16:30:41 +0800 Subject: [PATCH] Update DynamicThreadPoolPostProcessor.java (#694) modifying constructor methods of ThreadPoolNotifyAlarm --- .../starter/support/DynamicThreadPoolPostProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hippo4j-spring-boot/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/springboot/starter/support/DynamicThreadPoolPostProcessor.java b/hippo4j-spring-boot/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/springboot/starter/support/DynamicThreadPoolPostProcessor.java index bbabf6bc..85a19bfd 100644 --- a/hippo4j-spring-boot/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/springboot/starter/support/DynamicThreadPoolPostProcessor.java +++ b/hippo4j-spring-boot/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/springboot/starter/support/DynamicThreadPoolPostProcessor.java @@ -156,8 +156,8 @@ public final class DynamicThreadPoolPostProcessor implements BeanPostProcessor { if (executor instanceof AbstractDynamicExecutorSupport) { ThreadPoolNotifyAlarm threadPoolNotifyAlarm = new ThreadPoolNotifyAlarm( BooleanUtil.toBoolean(threadPoolParameterInfo.getIsAlarm().toString()), - threadPoolParameterInfo.getCapacityAlarm(), - threadPoolParameterInfo.getLivenessAlarm()); + threadPoolParameterInfo.getLivenessAlarm(), + threadPoolParameterInfo.getCapacityAlarm()); GlobalNotifyAlarmManage.put(threadPoolId, threadPoolNotifyAlarm); TaskDecorator taskDecorator = ((DynamicThreadPoolExecutor) executor).getTaskDecorator(); ((DynamicThreadPoolExecutor) newDynamicThreadPoolExecutor).setTaskDecorator(taskDecorator);