Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Mar 29, 2024
1 parent 5704d3a commit 7d56e22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public JdbcCatalogLockContext(Options options, boolean closeConnectionsUsed) {
this.catalogKey = options.get(JdbcCatalogOptions.CATALOG_KEY);
this.closeConnectionsUsed = closeConnectionsUsed;
this.metastore = options.get(CatalogOptions.METASTORE);
if (!this.metastore.equals(JdbcCatalogFactory.IDENTIFIER)) {
this.evictionInterval = 1000L;
if (!metastore.equals(JdbcCatalogFactory.IDENTIFIER)) {
this.evictionInterval = 1000000L;
this.key = extractKey();
init();
}
Expand Down

0 comments on commit 7d56e22

Please sign in to comment.