Merge remote-tracking branch 'origin/2.11' into 2.11

This commit is contained in:
zhouhao 2025-11-19 16:38:31 +08:00
commit dbcf9c8f3a
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
*/
package org.jetlinks.community.auth.service;
import com.google.common.cache.CacheBuilder;
import com.github.benmanes.caffeine.cache.Caffeine;
import lombok.Generated;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
@ -164,7 +164,7 @@ public class DefaultMenuService
}
final Map<List<String>, Flux<MenuView>> grantedCaching =
CacheBuilder
Caffeine
.newBuilder()
.expireAfterAccess(Duration.ofSeconds(10))
.<List<String>, Flux<MenuView>>build()