Skip to content

Commit

Permalink
[close #774]remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
b.tian committed Jun 3, 2024
1 parent cfe12d0 commit 604eafb
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main/java/org/tikv/txn/TwoPhaseCommitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,7 @@ public TwoPhaseCommitter(TiSession session, long startTime) {
}

public TwoPhaseCommitter(TiSession session, long startTime, long lockTTL) {
this(
session,
startTime,
lockTTL,
TXN_COMMIT_BATCH_SIZE,
TXN_COMMIT_BATCH_SIZE,
WRITE_BUFFER_SIZE,
1,
true,
3,
createExecutorService(WRITE_BUFFER_SIZE));
this(session, startTime, lockTTL, createExecutorService(WRITE_BUFFER_SIZE));
}

public TwoPhaseCommitter(
Expand Down

0 comments on commit 604eafb

Please sign in to comment.