From 9e8a213d8fc6f6d2430bf9813baea3e3b5abedc3 Mon Sep 17 00:00:00 2001 From: mingshewhe Date: Tue, 9 Jul 2024 11:31:26 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E7=A6=81=E7=94=A8=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=B8=8D=E5=BA=94=E8=AF=A5=E7=BB=9F=E8=AE=A1=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=95=B0=20#10634?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tencent/devops/metrics/service/CacheProjectInfoService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/ci/core/metrics/biz-metrics/src/main/kotlin/com/tencent/devops/metrics/service/CacheProjectInfoService.kt b/src/backend/ci/core/metrics/biz-metrics/src/main/kotlin/com/tencent/devops/metrics/service/CacheProjectInfoService.kt index 1172b5072ee..dccbeda6eb9 100644 --- a/src/backend/ci/core/metrics/biz-metrics/src/main/kotlin/com/tencent/devops/metrics/service/CacheProjectInfoService.kt +++ b/src/backend/ci/core/metrics/biz-metrics/src/main/kotlin/com/tencent/devops/metrics/service/CacheProjectInfoService.kt @@ -42,7 +42,7 @@ class CacheProjectInfoService @Autowired constructor( ) { private val projectVOCache = Caffeine.newBuilder() .maximumSize(10000) - .expireAfterWrite(1, TimeUnit.DAYS) + .expireAfterWrite(1, TimeUnit.HOURS) .build() fun getProject(projectId: String): ProjectVO? {