Skip to content

Commit

Permalink
fix conflict and rollback configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rfyu committed Sep 13, 2024
1 parent 2f6f41c commit 3ac3d05
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 @@ -305,7 +305,7 @@ public class AmoroManagementConf {
public static final ConfigOption<Long> DB_CONNECT_MAX_WAIT_MILLIS =
ConfigOptions.key("database.connection-pool-max-wait-millis")
.longType()
.defaultValue(-1L)
.defaultValue(1000L)
.withDescription("Max wait time before getting a connection timeout.");

public static final ConfigOption<Long> OPTIMIZER_HB_TIMEOUT =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public void planFailed() {
} catch (Exception e) {
OptimizingStatus originalStatus = optimizingStatus;
updateOptimizingStatus(OptimizingStatus.PENDING);
LOG.error(
LOG.warn(
"Persistent database failed, only the optimizing state in the memory was changed.", e);
tableHandler.handleTableChanged(this, originalStatus);
}
Expand Down

0 comments on commit 3ac3d05

Please sign in to comment.