Skip to content

Commit

Permalink
Merge pull request #42965 from dsplayerX/fix_42922_8.7-stage
Browse files Browse the repository at this point in the history
Update default return value of getTransactionCleanupTimeout
  • Loading branch information
chiranSachintha authored Jun 21, 2024
2 parents fa2e27f + 3a32d36 commit c1cf9cb
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 c1cf9cb

Please sign in to comment.