Skip to content

Commit

Permalink
replication mode: tune persist file timeout (tikv#6669)
Browse files Browse the repository at this point in the history
fix tikv#6672

Signed-off-by: disksing <[email protected]>
  • Loading branch information
disksing authored Jun 26, 2023
1 parent ec99986 commit eed021d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/replication/replication_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type FileReplicater interface {
}

const drStatusFile = "DR_STATE"
const persistFileTimeout = time.Second * 10
const persistFileTimeout = time.Second * 3

// ModeManager is used to control how raft logs are synchronized between
// different tikv nodes.
Expand Down

0 comments on commit eed021d

Please sign in to comment.