This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch release-1.3 in repository https://gitbox.apache.org/repos/asf/paimon.git
commit 4b16ee213124f3773e41be35d9e4bc6b03f75a9b Author: YeJunHao <[email protected]> AuthorDate: Fri Nov 7 15:17:40 2025 +0800 [common] Remove token expire time (#6544) --- paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java b/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java index f5de31afb8..e3b321ff2e 100644 --- a/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java +++ b/paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java @@ -45,7 +45,6 @@ import java.io.IOException; import java.io.UncheckedIOException; import java.util.Map; import java.util.concurrent.Executors; -import java.util.concurrent.TimeUnit; import static org.apache.paimon.options.CatalogOptions.FILE_IO_ALLOW_CACHE; import static org.apache.paimon.rest.RESTApi.TOKEN_EXPIRATION_SAFE_TIME_MILLIS; @@ -64,7 +63,6 @@ public class RESTTokenFileIO implements FileIO { private static final Cache<RESTToken, FileIO> FILE_IO_CACHE = Caffeine.newBuilder() - .expireAfterAccess(30, TimeUnit.MINUTES) .maximumSize(1000) .removalListener( (ignored, value, cause) -> IOUtils.closeQuietly((FileIO) value))
