From f8c98a1f48c744dfabe7062e8bbf6810d87a42c5 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 10 三月 2023 10:00:41 +0800 Subject: [PATCH] update springdoc 2.0.2 => 2.0.3 update hutool 5.8.12 => 5.8.15 (13与14有问题勿使用) --- ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteRound.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteRound.java b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteRound.java index d0ea2ba..dfea0ef 100644 --- a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteRound.java +++ b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/strategy/ExecutorRouteRound.java @@ -22,7 +22,7 @@ // cache clear if (System.currentTimeMillis() > CACHE_VALID_TIME) { routeCountEachJob.clear(); - CACHE_VALID_TIME = System.currentTimeMillis() + 1000*60*60*24; + CACHE_VALID_TIME = System.currentTimeMillis() + 1000 * 60 * 60 * 24; } AtomicInteger count = routeCountEachJob.get(jobId); @@ -39,7 +39,7 @@ @Override public ReturnT<String> route(TriggerParam triggerParam, List<String> addressList) { - String address = addressList.get(count(triggerParam.getJobId())%addressList.size()); + String address = addressList.get(count(triggerParam.getJobId()) % addressList.size()); return new ReturnT<String>(address); } -- Gitblit v1.9.3