Skip to content

Commit

Permalink
Fix default return type of getTransactionCleanupTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dsplayerX committed Jun 21, 2024
1 parent f62a945 commit 3a32d36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public static int getTransactionCleanupTimeout() {
TRANSACTION_CLEANUP_TIMEOUT_KEY,
PredefinedTypes.TYPE_INT, false);
if (!ConfigMap.containsKey(transactionCleanupTimeoutKey)) {
return DEFAULT_TRX_AUTO_COMMIT_TIMEOUT;
return DEFAULT_TRX_CLEANUP_TIMEOUT;
} else {
Object configValue = ConfigMap.get(transactionCleanupTimeoutKey);
if (configValue == null) {
Expand Down

0 comments on commit 3a32d36

Please sign in to comment.