Skip to content

Commit

Permalink
Merge branch 'master' into hotfix/officialbugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 authored Jun 4, 2024
2 parents 6757dce + 700fad0 commit bc40a34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/org/tikv/txn/TwoPhaseCommitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ public TwoPhaseCommitter(TiSession session, long startTime) {
}

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

public TwoPhaseCommitter(
TiSession session, long startTime, long lockTTL, ExecutorService executorService) {
this(
session,
startTime,
Expand All @@ -98,7 +103,7 @@ public TwoPhaseCommitter(TiSession session, long startTime, long lockTTL) {
1,
true,
3,
createExecutorService(WRITE_BUFFER_SIZE));
executorService);
}

TwoPhaseCommitter(
Expand Down

0 comments on commit bc40a34

Please sign in to comment.