Merge pull request #465 from mabaiwan/develop

Code formatting
pull/467/head
小马哥 2 years ago committed by GitHub
commit 8f0ee22d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -202,7 +202,8 @@ public class ConfigServiceImpl implements ConfigService {
.bizKey(requestParam.getItemId() + "_" + requestParam.getTpId()) .bizKey(requestParam.getItemId() + "_" + requestParam.getTpId())
.bizNo(requestParam.getItemId() + "_" + requestParam.getTpId()) .bizNo(requestParam.getItemId() + "_" + requestParam.getTpId())
.operator(Optional.ofNullable(UserContext.getUserName()).orElse("-")) .operator(Optional.ofNullable(UserContext.getUserName()).orElse("-"))
.action(String.format("核心线程: %d, 最大线程: %d, 队列类型: %d, 队列容量: %d, 拒绝策略: %d", requestParam.getCoreSize(), requestParam.getMaxSize(), requestParam.getQueueType(), requestParam.getCapacity(), requestParam.getRejectedType())) .action(String.format("核心线程: %d, 最大线程: %d, 队列类型: %d, 队列容量: %d, 拒绝策略: %d", requestParam.getCoreSize(), requestParam.getMaxSize(), requestParam.getQueueType(),
requestParam.getCapacity(), requestParam.getRejectedType()))
.category("THREAD_POOL_UPDATE") .category("THREAD_POOL_UPDATE")
.detail(JSONUtil.toJSONString(requestParam)) .detail(JSONUtil.toJSONString(requestParam))
.createTime(new Date()) .createTime(new Date())

Loading…
Cancel
Save