This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 09c74ef98 [core] Increase the default value of
cache.expiration-interval to 10 minute (#4456)
09c74ef98 is described below
commit 09c74ef988cb18abb373df8f53b5ede87afbc290
Author: Jiao Mingye <[email protected]>
AuthorDate: Tue Nov 5 15:47:29 2024 +0800
[core] Increase the default value of cache.expiration-interval to 10 minute
(#4456)
---
docs/layouts/shortcodes/generated/catalog_configuration.html | 2 +-
.../src/main/java/org/apache/paimon/options/CatalogOptions.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/layouts/shortcodes/generated/catalog_configuration.html
b/docs/layouts/shortcodes/generated/catalog_configuration.html
index 94f11c6c4..c7688c3b6 100644
--- a/docs/layouts/shortcodes/generated/catalog_configuration.html
+++ b/docs/layouts/shortcodes/generated/catalog_configuration.html
@@ -40,7 +40,7 @@ under the License.
</tr>
<tr>
<td><h5>cache.expiration-interval</h5></td>
- <td style="word-wrap: break-word;">1 min</td>
+ <td style="word-wrap: break-word;">10 min</td>
<td>Duration</td>
<td>Controls the duration for which databases and tables in the
catalog are cached.</td>
</tr>
diff --git
a/paimon-common/src/main/java/org/apache/paimon/options/CatalogOptions.java
b/paimon-common/src/main/java/org/apache/paimon/options/CatalogOptions.java
index 0d8a9290a..ace4daf5e 100644
--- a/paimon-common/src/main/java/org/apache/paimon/options/CatalogOptions.java
+++ b/paimon-common/src/main/java/org/apache/paimon/options/CatalogOptions.java
@@ -94,7 +94,7 @@ public class CatalogOptions {
public static final ConfigOption<Duration> CACHE_EXPIRATION_INTERVAL_MS =
key("cache.expiration-interval")
.durationType()
- .defaultValue(Duration.ofSeconds(60))
+ .defaultValue(Duration.ofMinutes(10))
.withDescription(
"Controls the duration for which databases and
tables in the catalog are cached.");