Skip to content

Commit

Permalink
[core] Increase the default value of cache.expiration-interval to 10 …
Browse files Browse the repository at this point in the history
…minute (apache#4456)
  • Loading branch information
mxdzs0612 authored and guanshi committed Nov 7, 2024
1 parent b41b9c9 commit d6b14ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit d6b14ad

Please sign in to comment.