Skip to content

Commit

Permalink
bug: 禁用项目不应该统计用户数 TencentBlueKing#10634
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Jul 9, 2024
1 parent 29847ea commit 9e8a213
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CacheProjectInfoService @Autowired constructor(
) {
private val projectVOCache = Caffeine.newBuilder()
.maximumSize(10000)
.expireAfterWrite(1, TimeUnit.DAYS)
.expireAfterWrite(1, TimeUnit.HOURS)
.build<String, ProjectVO>()

fun getProject(projectId: String): ProjectVO? {
Expand Down

0 comments on commit 9e8a213

Please sign in to comment.